home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Macromedia Director
(archive/macromediaDirector).
You can browse this item here: Lib.cst
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Macromedia Director (archive/macromediaDirector)
| magic
| Supported |
1%
| dexvert
| Banner Blue Movie Guide Library Auxiliary File (other/bannerBlueMovieGuideLibraryAuxiliaryFile)
| ext
| Unsupported |
1%
| dexvert
| Manga Studio Story (other/mangaStudioStory)
| ext
| Unsupported |
1%
| dexvert
| Perry Mason: The Case of the Mandarin Murder game data (other/perryMasonTheCaseOfTheMandarinMurderGameData)
| ext
| Unsupported |
100%
| file
| data
| default
| |
66%
| TrID
| Macromedia Director project
| default
| |
33%
| TrID
| Generic RIFX container (little-endian)
| default
| |
100%
| siegfried
| fmt/317 Macromedia Director (Macintosh)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 58 46 49 52 fc b3 1c 00 | 33 39 56 4d 70 61 6d 69 |XFIR....|39VMpami|
|00000010| 18 00 00 00 01 00 00 00 | fc 16 1a 00 3a 07 00 00 |........|....:...|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 2a 59 45 4b |........|....*YEK|
|00000030| bc 04 00 00 0c 00 0c 00 | 64 00 00 00 09 00 00 00 |........|d.......|
|00000040| 0a 03 00 00 74 00 00 00 | 6d 75 68 54 08 03 00 00 |....t...|muhT....|
|00000050| 9c 00 00 00 44 54 49 42 | 09 03 00 00 9c 00 00 00 |....DTIB|........|
|00000060| 6d 75 68 54 9b 04 00 00 | 00 04 00 00 2a 53 41 43 |muhT....|....*SAC|
|00000070| b5 02 00 00 00 04 00 00 | 66 6e 69 43 af 02 00 00 |........|fniC....|
|00000080| 00 04 00 00 46 43 52 44 | b3 02 00 00 00 04 00 00 |....FCRD|........|
|00000090| 70 61 6d 46 b8 04 00 00 | 00 04 00 00 58 74 63 4c |pamF....|....XtcL|
|000000a0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000000b0| 00 04 00 00 53 52 45 56 | 96 04 00 00 00 04 00 00 |....SREV|........|
|000000c0| 20 6c 63 63 61 04 00 00 | 00 04 00 00 20 6c 63 63 | lcca...|.... lcc|
|000000d0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000000e0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000000f0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000100| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000110| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000120| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000130| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000140| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000150| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000160| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000170| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000180| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000190| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000001a0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000001b0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000001c0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000001d0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000001e0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000001f0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000200| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000210| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000220| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000230| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000240| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000250| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000260| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000270| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000280| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000290| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000002a0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000002b0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000002c0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000002d0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000002e0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000002f0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000300| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000310| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000320| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000330| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000340| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000350| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000360| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000370| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000380| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000390| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000003a0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000003b0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000003c0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|000003d0| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|000003e0| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|000003f0| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000400| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000410| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000420| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000430| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000440| 00 04 00 00 53 52 45 56 | b6 02 00 00 00 04 00 00 |....SREV|........|
|00000450| 53 52 45 56 b6 02 00 00 | 00 04 00 00 53 52 45 56 |SREV....|....SREV|
|00000460| b6 02 00 00 00 04 00 00 | 53 52 45 56 b6 02 00 00 |........|SREV....|
|00000470| 00 04 00 00 53 52 45 56 | b4 02 00 00 00 04 00 00 |....SREV|........|
|00000480| 20 6c 63 63 00 00 00 00 | 00 00 00 00 00 00 00 00 | lcc....|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 46 43 52 44 54 00 00 00 | 00 54 07 3a 00 00 00 00 |FCRDT...|.T.:....|
|00000500| 00 00 00 00 00 01 00 7f | 01 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 fe 00 | 00 06 fa 46 07 3a 00 00 |........|...F.:..|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 50 00 00 |........|.....P..|
|00000530| 00 02 47 9e 00 00 00 3c | 08 10 52 2e 00 52 00 00 |..G....<|..R..R..|
|00000540| 00 00 00 00 00 00 00 00 | 01 00 00 00 66 6e 69 43 |........|....fniC|
|00000550| 73 00 00 00 00 00 00 04 | 00 05 00 00 00 00 00 00 |s.......|........|
|00000560| 00 00 00 00 00 12 00 00 | 00 1a 00 00 00 53 00 00 |........|.....S..|
|00000570| 00 55 00 01 00 01 00 03 | 00 01 00 00 00 01 00 01 |.U......|........|
|00000580| 00 00 04 9f 00 00 00 00 | 01 23 02 6e 37 43 3a 5c |........|.#.n7C:\|
|00000590| 44 6f 63 75 6d 65 6e 74 | 73 20 61 6e 64 20 53 65 |Document|s and Se|
|000005a0| 74 74 69 6e 67 73 5c 6d | 6d 69 72 6f 6e 6f 76 5c |ttings\m|mironov\|
|000005b0| 44 65 73 6b 74 6f 70 5c | 45 57 57 5f 4e 65 77 5c |Desktop\|EWW_New\|
|000005c0| 45 57 57 4b 00 00 00 75 | 2a 53 41 43 fc 01 00 00 |EWWK...u|*SAC....|
|000005d0| 00 00 00 9c 00 00 00 74 | 00 00 00 5a 00 00 00 7d |.......t|...Z...}|
|000005e0| 00 00 00 9d 00 00 00 42 | 00 00 00 59 00 00 00 8a |.......B|...Y....|
|000005f0| 00 00 00 69 00 00 00 10 | 00 00 01 0f 00 00 00 d5 |...i....|........|
|00000600| 00 00 00 0e 00 00 00 00 | 00 00 02 75 00 00 00 00 |........|...u....|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 30 00 00 00 4a | 00 00 00 4b 00 00 00 91 |...0...J|...K....|
|00000630| 00 00 00 35 00 00 00 1f | 00 00 02 ae 00 00 00 73 |...5....|.......s|
|00000640| 00 00 00 71 00 00 00 5e | 00 00 00 1e 00 00 00 4d |...q...^|.......M|
|00000650| 00 00 00 4c 00 00 00 09 | 00 00 00 7b 00 00 00 00 |...L....|...{....|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 4e 00 00 04 63 | 00 00 00 45 00 00 00 40 |...N...c|...E...@|
|00000680| 00 00 00 82 00 00 00 5d | 00 00 00 21 00 00 00 1c |.......]|...!....|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 ef 00 00 00 f0 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 41 00 00 00 31 | 00 00 00 1b 00 00 00 b4 |...A...1|........|
|000006d0| 00 00 00 28 00 00 00 43 | 00 00 00 1a 00 00 00 81 |...(...C|........|
|000006e0| 00 00 00 53 00 00 00 b6 | 00 00 00 64 00 00 00 12 |...S....|...d....|
|000006f0| 00 00 00 18 00 00 00 20 | 00 00 00 d0 00 00 00 11 |....... |........|
|00000700| 00 00 00 d1 00 00 00 0f | 00 00 00 15 00 00 00 e6 |........|........|
|00000710| 00 00 00 fd 00 00 00 51 | 00 00 00 39 00 00 00 ce |.......Q|...9....|
|00000720| 00 00 00 33 00 00 00 24 | 00 00 00 f1 00 00 00 f2 |...3...$|........|
|00000730| 00 00 00 b8 00 00 00 00 | 00 00 00 54 00 00 00 55 |........|...T...U|
|00000740| 00 00 00 00 00 00 00 e7 | 00 00 00 e8 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 4f 00 00 00 5c | 00 00 00 00 00 00 00 00 |...O...\|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 89 00 00 00 85 |........|........|
|00000790| 00 00 00 c2 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 0a 00 00 00 0b | 00 00 00 0d 00 00 00 05 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 02 14 74 53 41 43 |........|....tSAC|
|000007d0| a8 00 00 00 00 00 00 01 | 00 00 00 85 00 00 00 17 |........|........|
|000007e0| 00 00 00 14 00 00 00 00 | 00 00 00 00 00 00 00 40 |........|.......@|
|000007f0| 00 00 00 00 00 14 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 0d 00 00 00 0d 00 00 | 00 0d 00 00 00 0d 00 00 |........|........|
|00000810| 00 0d 00 00 00 0d 00 00 | 00 0d 00 00 00 0d 00 00 |........|........|
|00000820| 00 0d 00 00 00 0d 00 00 | 00 0d 00 00 00 0d 00 00 |........|........|
|00000830| 00 0d 00 00 00 0d 00 00 | 00 0d 00 00 00 0d 00 00 |........|........|
|00000840| 00 0d 00 00 00 11 00 00 | 00 1b 0b 75 6e 64 65 72 |........|...under|
|00000850| 43 75 72 73 6f 72 00 3f | 7a d2 74 54 65 6d 70 20 |Cursor.?|z.tTemp |
|00000860| 55 73 65 72 00 00 02 01 | 3e 01 d2 01 3f 01 d3 00 |User....|>...?...|
|00000870| 00 01 08 fe 3f fd c3 01 | 3e 01 d2 00 74 53 41 43 |....?...|>...tSAC|
|00000880| a6 00 00 00 00 00 00 08 | 00 00 00 89 00 00 00 11 |........|........|
|00000890| 00 00 00 14 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 14 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 11 00 00 00 11 00 00 | 00 11 00 00 00 11 00 00 |........|........|
|000008c0| 00 11 00 00 00 11 00 00 | 00 11 00 00 00 11 00 00 |........|........|
|000008d0| 00 11 00 00 00 11 00 00 | 00 11 00 00 00 11 00 00 |........|........|
|000008e0| 00 11 00 00 00 11 00 00 | 00 11 00 00 00 11 00 00 |........|........|
|000008f0| 00 11 00 00 00 15 00 00 | 00 1f 0f 66 75 6c 6c 55 |........|...fullU|
|00000900| 6e 64 65 72 43 75 72 73 | 6f 72 00 3f 7a d2 74 54 |nderCurs|or.?z.tT|
|00000910| 65 6d 70 20 55 73 65 72 | 00 00 01 00 e9 01 39 00 |emp User|......9.|
|00000920| f7 01 47 00 01 ff 00 00 | 01 05 74 53 41 43 fa 2f |..G.....|..tSAC./|
|00000930| 00 00 00 00 00 0b 00 00 | 2f ec 00 00 00 02 00 00 |........|/.......|
|00000940| 00 14 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 01 00 14 00 00 00 00 | 00 00 2f 24 00 00 2f 44 |........|../$../D|
|00000960| 00 00 2f 44 00 00 2f 44 | 00 00 2f 44 00 00 2f 58 |../D../D|../D../X|
|00000970| 00 00 2f 58 00 00 2f 58 | 00 00 2f 58 00 00 2f 58 |../X../X|../X../X|
|00000980| 00 00 2f 58 00 00 2f 6c | 00 00 2f 6c 00 00 2f 74 |../X../l|../l../t|
|00000990| 00 00 2f 74 00 00 2f 74 | 00 00 2f 74 00 00 2f 74 |../t../t|../t../t|
|000009a0| 00 00 2f 78 00 00 2f 82 | 2d 2d 0d 2d 2d 20 47 6c |../x../.|--.-- Gl|
|000009b0| 6f 62 61 6c 20 53 63 72 | 69 70 74 73 20 66 6f 72 |obal Scr|ipts for|
|000009c0| 20 49 6e 74 65 67 72 61 | 74 69 6f 6e 0d 2d 2d 0d | Integra|tion.--.|
|000009d0| 0d 2d 2d 20 74 68 65 73 | 65 20 61 72 65 20 67 6c |.-- thes|e are gl|
|000009e0| 6f 62 61 6c 20 73 63 72 | 69 70 74 73 20 74 68 61 |obal scr|ipts tha|
|000009f0| 74 20 61 62 73 74 72 61 | 63 74 20 74 68 65 20 69 |t abstra|ct the i|
|00000a00| 6e 74 65 67 72 61 74 69 | 6f 6e 20 66 72 6f 6d 20 |ntegrati|on from |
|00000a10| 74 68 65 20 4f 4f 50 20 | 69 6d 70 6c 65 6d 65 6e |the OOP |implemen|
|00000a20| 74 61 74 69 6f 6e 2e 0d | 2d 2d 20 74 68 69 73 20 |tation..|-- this |
|00000a30| 69 73 20 74 68 65 20 66 | 75 6c 6c 20 73 65 74 20 |is the f|ull set |
|00000a40| 6f 66 20 73 63 72 69 70 | 74 73 20 74 68 61 74 20 |of scrip|ts that |
|00000a50| 63 61 6e 20 62 65 20 75 | 73 65 64 20 66 6f 72 20 |can be u|sed for |
|00000a60| 69 6e 74 65 67 72 61 74 | 69 6f 6e 2e 0d 2d 2d 20 |integrat|ion..-- |
|00000a70| 74 68 65 20 73 63 6f 72 | 65 20 73 68 6f 75 6c 64 |the scor|e should|
|00000a80| 20 6e 65 76 65 72 20 64 | 69 72 65 63 74 6c 79 20 | never d|irectly |
|00000a90| 72 65 66 65 72 20 74 6f | 20 61 6e 20 6f 62 6a 65 |refer to| an obje|
|00000aa0| 63 74 2e 0d 0d 0d 67 6c | 6f 62 61 6c 20 67 61 6d |ct....gl|obal gam|
|00000ab0| 65 4f 62 6a 2c 20 67 55 | 49 20 20 2d 2d 20 74 68 |eObj, gU|I -- th|
|00000ac0| 65 20 74 77 6f 20 69 6e | 73 74 61 6e 74 69 61 74 |e two in|stantiat|
|00000ad0| 65 64 20 6f 62 6a 65 63 | 74 73 2e 0d 67 6c 6f 62 |ed objec|ts..glob|
|00000ae0| 61 6c 20 67 54 79 70 65 | 20 20 2d 2d 20 74 68 65 |al gType| -- the|
|00000af0| 20 74 79 70 65 20 6f 66 | 20 74 68 65 20 63 75 72 | type of| the cur|
|00000b00| 72 65 6e 74 20 61 63 74 | 69 76 69 74 79 20 28 69 |rent act|ivity (i|
|00000b10| 66 20 61 6e 79 29 0d 67 | 6c 6f 62 61 6c 20 67 4f |f any).g|lobal gO|
|00000b20| 6c 64 44 65 70 74 68 20 | 20 2d 2d 20 74 68 65 20 |ldDepth | -- the |
|00000b30| 6f 72 69 67 69 6e 61 6c | 20 63 6f 6c 6f 72 44 65 |original| colorDe|
|00000b40| 70 74 68 20 6f 66 20 74 | 68 65 20 6d 6f 6e 69 74 |pth of t|he monit|
|00000b50| 6f 72 20 28 74 6f 20 62 | 65 20 72 65 73 74 6f 72 |or (to b|e restor|
|00000b60| 65 64 20 61 74 20 65 6e | 64 20 6f 66 20 70 6c 61 |ed at en|d of pla|
|00000b70| 79 29 0d 67 6c 6f 62 61 | 6c 20 67 53 6f 75 6e 64 |y).globa|l gSound|
|00000b80| 4c 69 73 74 20 20 2d 2d | 20 61 20 67 6c 6f 62 61 |List --| a globa|
|00000b90| 6c 6c 79 20 75 73 65 64 | 20 6c 69 73 74 20 6f 66 |lly used| list of|
|00000ba0| 20 73 6f 75 6e 64 73 2e | 0d 67 6c 6f 62 61 6c 20 | sounds.|.global |
|00000bb0| 67 44 65 62 75 67 20 20 | 2d 2d 20 6f 6e 6c 79 20 |gDebug |-- only |
|00000bc0| 61 63 74 69 76 65 20 69 | 6e 20 75 6e 70 72 6f 74 |active i|n unprot|
|00000bd0| 65 63 74 65 64 20 6d 6f | 76 69 65 73 2e 0d 0d 2d |ected mo|vies...-|
|00000be0| 2d 63 6f 6d 6d 6f 6e 6c | 79 20 75 73 65 64 20 62 |-commonl|y used b|
|00000bf0| 75 74 74 6f 6e 73 0d 67 | 6c 6f 62 61 6c 20 67 50 |uttons.g|lobal gP|
|00000c00| 72 69 6e 74 65 72 42 2c | 67 42 61 6e 6e 65 72 61 |rinterB,|gBannera|
|00000c10| 72 74 42 2c 67 4c 65 66 | 74 42 2c 67 53 70 65 61 |rtB,gLef|tB,gSpea|
|00000c20| 6b 65 72 42 2c 67 48 6f | 6d 65 42 2c 67 48 65 6c |kerB,gHo|meB,gHel|
|00000c30| 70 42 2c 67 52 69 67 68 | 74 42 0d 0d 67 6c 6f 62 |pB,gRigh|tB..glob|
|00000c40| 61 6c 20 67 54 6f 74 61 | 6c 53 70 72 69 74 65 73 |al gTota|lSprites|
|00000c50| 2c 76 65 72 73 69 6f 6e | 20 0d 0d 2d 2d 20 73 74 |,version| ..-- st|
|00000c60| 61 72 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |art the |applicat|
|00000c70| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 66 69 72 73 |ion for |the firs|
|00000c80| 74 20 74 69 6d 65 3a 0d | 0d 6f 6e 20 73 74 61 72 |t time:.|.on star|
|00000c90| 74 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 0d 20 20 |tApplica|tion . |
|00000ca0| 2d 2d 20 20 69 66 20 74 | 68 65 20 6f 70 74 69 6f |-- if t|he optio|
|00000cb0| 6e 44 6f 77 6e 20 74 68 | 65 6e 20 0d 20 20 2d 2d |nDown th|en . --|
|00000cc0| 20 20 20 20 73 65 74 20 | 6d 65 6d 77 69 6e 20 3d | set |memwin =|
|00000cd0| 20 77 69 6e 64 6f 77 20 | 22 6d 65 6d 6d 6f 6e 22 | window |"memmon"|
|00000ce0| 0d 20 20 2d 2d 20 20 20 | 20 73 65 74 20 74 68 65 |. -- | set the|
|00000cf0| 20 66 69 6c 65 4e 61 6d | 65 20 6f 66 20 6d 65 6d | fileNam|e of mem|
|00000d00| 77 69 6e 20 3d 20 74 68 | 65 20 70 61 74 68 6e 61 |win = th|e pathna|
|00000d10| 6d 65 20 26 20 22 6d 65 | 6d 6d 6f 6e 22 0d 20 20 |me & "me|mmon". |
|00000d20| 2d 2d 20 20 20 20 6f 70 | 65 6e 20 6d 65 6d 77 69 |-- op|en memwi|
|00000d30| 6e 0d 20 20 2d 2d 20 20 | 65 6e 64 20 69 66 0d 20 |n. -- |end if. |
|00000d40| 20 69 66 20 74 68 65 20 | 6d 6f 76 69 65 4e 61 6d | if the |movieNam|
|00000d50| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 2e 64 69 72 |e contai|ns ".dir|
|00000d60| 22 20 74 68 65 6e 20 73 | 65 74 20 67 44 65 62 75 |" then s|et gDebu|
|00000d70| 67 20 3d 20 54 52 55 45 | 0d 20 20 0d 20 20 73 65 |g = TRUE|. . se|
|00000d80| 74 20 74 68 65 20 65 78 | 69 74 4c 6f 63 6b 20 74 |t the ex|itLock t|
|00000d90| 6f 20 54 52 55 45 0d 20 | 20 69 66 20 76 6f 69 64 |o TRUE. | if void|
|00000da0| 50 20 28 67 4f 6c 64 44 | 65 70 74 68 29 20 74 68 |P (gOldD|epth) th|
|00000db0| 65 6e 0d 20 20 20 20 0d | 20 20 20 20 73 65 74 20 |en. .| set |
|00000dc0| 67 4f 6c 64 44 65 70 74 | 68 20 3d 20 74 68 65 20 |gOldDept|h = the |
|00000dd0| 63 6f 6c 6f 72 44 65 70 | 74 68 0d 20 20 20 20 2d |colorDep|th. -|
|00000de0| 2d 4a 43 4f 44 45 0d 20 | 20 20 20 2d 2d 20 20 20 |-JCODE. | -- |
|00000df0| 20 69 66 20 74 68 65 20 | 6d 61 63 68 69 6e 65 54 | if the |machineT|
|00000e00| 79 70 65 20 3d 20 32 35 | 36 20 74 68 65 6e 0d 20 |ype = 25|6 then. |
|00000e10| 20 20 20 2d 2d 20 20 20 | 20 20 20 69 66 20 74 68 | -- | if th|
|00000e20| 65 20 63 6f 6c 6f 72 44 | 65 70 74 68 20 3d 20 38 |e colorD|epth = 8|
|00000e30| 20 74 68 65 6e 0d 20 20 | 20 20 2d 2d 20 20 20 20 | then. | -- |
|00000e40| 20 20 20 20 70 75 74 20 | 74 68 65 20 63 6f 6c 6f | put |the colo|
|00000e50| 72 44 65 70 74 68 0d 20 | 20 20 20 2d 2d 20 20 20 |rDepth. | -- |
|00000e60| 20 20 20 65 6c 73 65 0d | 20 20 20 20 2d 2d 20 20 | else.| -- |
|00000e70| 20 20 20 20 20 20 61 6c | 65 72 74 20 22 46 6f 72 | al|ert "For|
|00000e80| 20 62 65 74 74 65 72 20 | 70 65 72 66 6f 72 6d 61 | better |performa|
|00000e90| 6e 63 65 2c 20 77 65 20 | 72 65 63 6f 6d 6d 65 6e |nce, we |recommen|
|00000ea0| 64 20 74 68 61 74 20 79 | 6f 75 20 63 68 61 6e 67 |d that y|ou chang|
|00000eb0| 65 20 74 68 65 20 6d 6f | 6e 69 74 6f 72 20 72 65 |e the mo|nitor re|
|00000ec0| 73 6f 6c 75 74 69 6f 6e | 20 74 6f 20 32 35 36 20 |solution| to 256 |
|00000ed0| 63 6f 6c 6f 72 73 2e 22 | 0d 20 20 20 20 2d 2d 20 |colors."|. -- |
|00000ee0| 20 20 20 20 20 65 6e 64 | 20 69 66 0d 20 20 20 20 | end| if. |
|00000ef0| 2d 2d 20 20 20 20 65 6c | 73 65 0d 20 20 20 20 2d |-- el|se. -|
|00000f00| 2d 20 20 20 20 20 20 69 | 66 20 74 68 65 20 63 6f |- i|f the co|
|00000f10| 6c 6f 72 64 65 70 74 68 | 20 3c 3e 20 38 20 74 68 |lordepth| <> 8 th|
|00000f20| 65 6e 20 73 65 74 20 74 | 68 65 20 63 6f 6c 6f 72 |en set t|he color|
|00000f30| 44 65 70 74 68 20 3d 20 | 38 0d 20 20 20 20 2d 2d |Depth = |8. --|
|00000f40| 20 20 20 20 65 6e 64 20 | 69 66 0d 20 20 20 20 2d | end |if. -|
|00000f50| 2d 45 4e 44 20 4a 43 4f | 44 45 0d 20 20 65 6e 64 |-END JCO|DE. end|
|00000f60| 20 69 66 0d 20 20 0d 20 | 20 2d 2d 20 73 65 74 20 | if. . | -- set |
|00000f70| 74 68 65 20 74 69 6d 65 | 6f 75 74 4c 65 6e 67 74 |the time|outLengt|
|00000f80| 68 20 3d 20 28 33 30 20 | 2a 20 36 30 29 0d 20 20 |h = (30 |* 60). |
|00000f90| 73 65 74 20 74 68 65 20 | 74 69 6d 65 6f 75 74 50 |set the |timeoutP|
|00000fa0| 6c 61 79 20 3d 20 54 52 | 55 45 0d 20 20 0d 20 20 |lay = TR|UE. . |
|00000fb0| 73 65 74 20 67 54 79 70 | 65 20 3d 20 30 0d 20 20 |set gTyp|e = 0. |
|00000fc0| 0d 20 20 73 65 74 20 67 | 50 72 69 6e 74 65 72 42 |. set g|PrinterB|
|00000fd0| 3d 31 31 34 0d 20 20 73 | 65 74 20 67 42 61 6e 6e |=114. s|et gBann|
|00000fe0| 65 72 61 72 74 42 3d 31 | 31 35 0d 20 20 73 65 74 |erartB=1|15. set|
|00000ff0| 20 67 4c 65 66 74 42 3d | 31 31 36 0d 20 20 73 65 | gLeftB=|116. se|
|00001000| 74 20 67 53 70 65 61 6b | 65 72 42 3d 31 31 37 0d |t gSpeak|erB=117.|
|00001010| 20 20 73 65 74 20 67 48 | 6f 6d 65 42 3d 31 31 38 | set gH|omeB=118|
|00001020| 0d 20 20 73 65 74 20 67 | 48 65 6c 70 42 3d 31 31 |. set g|HelpB=11|
|00001030| 39 0d 20 20 73 65 74 20 | 67 52 69 67 68 74 42 3d |9. set |gRightB=|
|00001040| 31 32 30 0d 20 20 0d 20 | 20 69 66 20 6e 6f 74 20 |120. . | if not |
|00001050| 6f 62 6a 65 63 74 50 20 | 28 67 55 49 29 20 74 68 |objectP |(gUI) th|
|00001060| 65 6e 20 0d 20 20 20 20 | 73 65 74 20 67 55 49 20 |en . |set gUI |
|00001070| 3d 20 6e 65 77 20 28 73 | 63 72 69 70 74 20 22 41 |= new (s|cript "A|
|00001080| 70 70 6c 69 63 61 74 69 | 6f 6e 22 29 0d 20 20 65 |pplicati|on"). e|
|00001090| 6e 64 20 69 66 0d 20 20 | 0d 20 20 0d 65 6e 64 0d |nd if. |. .end.|
|000010a0| 0d 0d 2d 2d 20 73 68 6f | 75 6c 64 20 62 65 20 63 |..-- sho|uld be c|
|000010b0| 61 6c 6c 65 64 20 62 79 | 20 73 74 61 72 74 6d 6f |alled by| startmo|
|000010c0| 76 69 65 20 2a 2a 61 6c | 77 61 79 73 2a 2a 0d 0d |vie **al|ways**..|
|000010d0| 6f 6e 20 73 74 61 72 74 | 4c 69 62 0d 20 20 69 66 |on start|Lib. if|
|000010e0| 20 6e 6f 74 20 6f 62 6a | 65 63 74 50 20 28 67 55 | not obj|ectP (gU|
|000010f0| 49 29 20 74 68 65 6e 20 | 73 65 74 20 67 55 49 20 |I) then |set gUI |
|00001100| 3d 20 6e 65 77 20 28 73 | 63 72 69 70 74 20 22 41 |= new (s|cript "A|
|00001110| 70 70 6c 69 63 61 74 69 | 6f 6e 22 29 0d 20 20 0d |pplicati|on"). .|
|00001120| 20 20 69 66 20 6f 62 6a | 65 63 74 50 20 28 67 61 | if obj|ectP (ga|
|00001130| 6d 65 4f 62 6a 29 20 74 | 68 65 6e 20 64 65 73 74 |meObj) t|hen dest|
|00001140| 72 75 63 74 20 28 67 61 | 6d 65 4f 62 6a 29 0d 20 |ruct (ga|meObj). |
|00001150| 20 73 65 74 20 67 61 6d | 65 4f 62 6a 20 3d 20 30 | set gam|eObj = 0|
|00001160| 0d 20 20 73 65 74 20 67 | 54 79 70 65 20 3d 20 30 |. set g|Type = 0|
|00001170| 0d 20 20 0d 20 20 63 6c | 65 61 72 42 61 6e 6e 65 |. . cl|earBanne|
|00001180| 72 28 29 0d 20 20 0d 20 | 20 75 6e 6c 6f 61 64 43 |r(). . | unloadC|
|00001190| 61 73 74 20 28 67 55 49 | 29 0d 20 20 63 75 72 73 |ast (gUI|). curs|
|000011a0| 6f 72 20 2d 31 0d 20 20 | 0d 20 20 69 66 20 6f 62 |or -1. |. if ob|
|000011b0| 6a 65 63 74 50 20 28 67 | 55 49 29 20 74 68 65 6e |jectP (g|UI) then|
|000011c0| 20 73 65 74 20 55 49 20 | 3d 20 67 55 49 0d 20 20 | set UI |= gUI. |
|000011d0| 73 65 74 20 6f 6c 64 44 | 65 70 74 68 20 3d 20 67 |set oldD|epth = g|
|000011e0| 4f 6c 64 44 65 70 74 68 | 0d 20 20 73 65 74 20 73 |OldDepth|. set s|
|000011f0| 6f 75 6e 64 4c 69 73 74 | 20 3d 20 67 53 6f 75 6e |oundList| = gSoun|
|00001200| 64 4c 69 73 74 0d 20 20 | 73 65 74 20 64 65 62 75 |dList. |set debu|
|00001210| 67 20 3d 20 67 44 65 62 | 75 67 0d 20 20 0d 20 20 |g = gDeb|ug. . |
|00001220| 63 6c 65 61 72 67 6c 6f | 62 61 6c 73 0d 20 20 0d |clearglo|bals. .|
|00001230| 20 20 73 65 74 20 67 55 | 49 20 3d 20 55 49 0d 20 | set gU|I = UI. |
|00001240| 20 73 65 74 20 67 4f 6c | 64 44 65 70 74 68 20 3d | set gOl|dDepth =|
|00001250| 20 6f 6c 64 44 65 70 74 | 68 0d 20 20 73 65 74 20 | oldDept|h. set |
|00001260| 67 53 6f 75 6e 64 4c 69 | 73 74 20 3d 20 73 6f 75 |gSoundLi|st = sou|
|00001270| 6e 64 4c 69 73 74 0d 20 | 20 73 65 74 20 67 44 65 |ndList. | set gDe|
|00001280| 62 75 67 20 3d 20 64 65 | 62 75 67 0d 20 20 0d 20 |bug = de|bug. . |
|00001290| 20 63 68 65 63 6b 47 55 | 49 43 75 72 73 6f 72 73 | checkGU|ICursors|
|000012a0| 20 28 67 55 49 29 0d 20 | 20 0d 20 20 2d 2d 61 64 | (gUI). | . --ad|
|000012b0| 64 65 64 20 62 79 20 61 | 6c 65 78 20 6d 2e 0d 20 |ded by a|lex m.. |
|000012c0| 20 2d 2d 73 65 74 20 73 | 70 72 69 74 65 20 6e 75 | --set s|prite nu|
|000012d0| 6d 62 65 72 73 20 66 6f | 72 20 63 6f 6d 6d 6f 6e |mbers fo|r common|
|000012e0| 6c 79 20 75 73 65 64 20 | 62 75 74 74 6f 6e 73 20 |ly used |buttons |
|000012f0| 28 44 69 72 65 63 74 6f | 72 20 36 2e 30 20 6f 6e |(Directo|r 6.0 on|
|00001300| 6c 79 29 0d 20 20 73 65 | 74 20 67 50 72 69 6e 74 |ly). se|t gPrint|
|00001310| 65 72 42 3d 31 31 34 0d | 20 20 73 65 74 20 67 42 |erB=114.| set gB|
|00001320| 61 6e 6e 65 72 61 72 74 | 42 3d 31 31 35 0d 20 20 |annerart|B=115. |
|00001330| 73 65 74 20 67 4c 65 66 | 74 42 3d 31 31 36 0d 20 |set gLef|tB=116. |
|00001340| 20 73 65 74 20 67 53 70 | 65 61 6b 65 72 42 3d 31 | set gSp|eakerB=1|
|00001350| 31 37 0d 20 20 73 65 74 | 20 67 48 6f 6d 65 42 3d |17. set| gHomeB=|
|00001360| 31 31 38 0d 20 20 73 65 | 74 20 67 48 65 6c 70 42 |118. se|t gHelpB|
|00001370| 3d 31 31 39 0d 20 20 73 | 65 74 20 67 52 69 67 68 |=119. s|et gRigh|
|00001380| 74 42 3d 31 32 30 0d 20 | 20 0d 20 20 69 66 20 63 |tB=120. | . if c|
|00001390| 68 61 72 20 31 20 6f 66 | 20 76 65 72 73 69 6f 6e |har 1 of| version|
|000013a0| 3d 22 36 22 20 74 68 65 | 6e 20 0d 20 20 20 20 73 |="6" the|n . s|
|000013b0| 65 74 20 67 54 6f 74 61 | 6c 53 70 72 69 74 65 73 |et gTota|lSprites|
|000013c0| 3d 31 32 30 20 2d 2d 64 | 69 72 65 63 74 6f 72 20 |=120 --d|irector |
|000013d0| 36 2e 30 0d 20 20 65 6c | 73 65 20 69 66 20 63 68 |6.0. el|se if ch|
|000013e0| 61 72 20 31 20 6f 66 20 | 76 65 72 73 69 6f 6e 3d |ar 1 of |version=|
|000013f0| 22 35 22 20 74 68 65 6e | 0d 20 20 20 20 73 65 74 |"5" then|. set|
|00001400| 20 67 54 6f 74 61 6c 53 | 70 72 69 74 65 73 3d 34 | gTotalS|prites=4|
|00001410| 38 20 20 2d 2d 35 2e 30 | 0d 20 20 65 6c 73 65 20 |8 --5.0|. else |
|00001420| 0d 20 20 20 20 2d 2d 4a | 43 4f 44 45 0d 20 20 20 |. --J|CODE. |
|00001430| 20 73 65 74 20 67 54 6f | 74 61 6c 53 70 72 69 74 | set gTo|talSprit|
|00001440| 65 73 3d 31 32 30 0d 20 | 20 20 20 2d 2d 45 4e 44 |es=120. | --END|
|00001450| 20 4a 43 4f 44 45 0d 20 | 20 65 6e 64 20 69 66 0d | JCODE. | end if.|
|00001460| 65 6e 64 0d 0d 0d 2d 2d | 20 73 68 6f 75 6c 64 20 |end...--| should |
|00001470| 62 65 20 63 61 6c 6c 65 | 64 20 62 79 20 73 74 6f |be calle|d by sto|
|00001480| 70 6d 6f 76 69 65 20 2a | 2a 61 6c 77 61 79 73 2a |pmovie *|*always*|
|00001490| 2a 0d 0d 6f 6e 20 73 74 | 6f 70 4c 69 62 0d 20 20 |*..on st|opLib. |
|000014a0| 70 75 74 20 22 73 74 6f | 70 70 69 6e 67 2e 2e 2e |put "sto|pping...|
|000014b0| 22 0d 20 20 69 66 20 69 | 73 53 65 6c 66 43 6f 6e |". if i|sSelfCon|
|000014c0| 74 61 69 6e 65 64 20 28 | 67 55 49 29 20 74 68 65 |tained (|gUI) the|
|000014d0| 6e 20 63 6c 6f 73 65 41 | 6c 6c 20 28 29 20 20 2d |n closeA|ll () -|
|000014e0| 2d 20 64 65 73 74 72 75 | 63 74 20 62 6f 74 68 20 |- destru|ct both |
|000014f0| 6f 62 6a 65 63 74 73 2e | 0d 20 20 65 6c 73 65 20 |objects.|. else |
|00001500| 69 66 20 6f 62 6a 65 63 | 74 50 20 28 67 61 6d 65 |if objec|tP (game|
|00001510| 4f 62 6a 29 20 74 68 65 | 6e 20 0d 20 20 20 20 64 |Obj) the|n . d|
|00001520| 65 73 74 72 75 63 74 20 | 28 67 61 6d 65 4f 62 6a |estruct |(gameObj|
|00001530| 29 0d 20 20 20 20 73 65 | 74 20 67 61 6d 65 4f 62 |). se|t gameOb|
|00001540| 6a 20 3d 20 30 0d 20 20 | 65 6e 64 20 69 66 0d 20 |j = 0. |end if. |
|00001550| 20 2d 2d 73 61 76 65 4d | 6f 76 69 65 0d 20 20 63 | --saveM|ovie. c|
|00001560| 75 72 73 6f 72 20 34 0d | 65 6e 64 0d 0d 0d 2d 2d |ursor 4.|end...--|
|00001570| 20 63 6c 6f 73 65 20 74 | 68 65 20 6e 61 76 69 67 | close t|he navig|
|00001580| 61 74 69 6f 6e 20 28 6f | 6e 20 71 75 69 74 29 0d |ation (o|n quit).|
|00001590| 0d 6f 6e 20 63 6c 6f 73 | 65 4e 61 76 69 67 61 74 |.on clos|eNavigat|
|000015a0| 69 6f 6e 20 0d 20 20 2d | 2d 4a 43 4f 44 45 0d 20 |ion . -|-JCODE. |
|000015b0| 20 2d 2d 69 66 20 6f 62 | 6a 65 63 74 50 20 28 67 | --if ob|jectP (g|
|000015c0| 55 49 29 20 74 68 65 6e | 20 64 65 73 74 72 75 63 |UI) then| destruc|
|000015d0| 74 20 28 67 55 49 29 0d | 20 20 2d 2d 73 65 74 20 |t (gUI).| --set |
|000015e0| 67 55 49 20 3d 20 30 20 | 20 0d 65 6e 64 0d 0d 0d |gUI = 0 | .end...|
|000015f0| 6f 6e 20 70 6c 61 79 50 | 6f 73 46 65 65 64 62 61 |on playP|osFeedba|
|00001600| 63 6b 20 0d 20 20 70 6c | 61 79 52 65 73 70 6f 6e |ck . pl|ayRespon|
|00001610| 73 65 53 6f 75 6e 64 20 | 28 31 2c 20 31 29 0d 65 |seSound |(1, 1).e|
|00001620| 6e 64 0d 0d 0d 6f 6e 20 | 70 6c 61 79 4e 65 67 46 |nd...on |playNegF|
|00001630| 65 65 64 62 61 63 6b 20 | 0d 20 20 70 6c 61 79 52 |eedback |. playR|
|00001640| 65 73 70 6f 6e 73 65 53 | 6f 75 6e 64 20 28 30 2c |esponseS|ound (0,|
|00001650| 20 31 29 0d 65 6e 64 0d | 0d 0d 2d 2d 20 64 6f 20 | 1).end.|..-- do |
|00001660| 61 20 6d 6f 75 73 65 64 | 6f 77 6e 20 61 63 74 69 |a moused|own acti|
|00001670| 6f 6e 2e 0d 2d 2d 20 70 | 61 73 73 20 74 68 65 20 |on..-- p|ass the |
|00001680| 73 70 72 69 74 65 20 6f | 66 20 74 68 61 74 20 61 |sprite o|f that a|
|00001690| 63 74 69 6f 6e 20 74 6f | 20 74 68 65 20 61 63 74 |ction to| the act|
|000016a0| 69 76 69 74 79 20 6f 62 | 6a 65 63 74 0d 2d 2d 20 |ivity ob|ject.-- |
|000016b0| 69 66 20 61 20 66 61 69 | 6c 75 72 65 2c 20 74 68 |if a fai|lure, th|
|000016c0| 65 6e 20 70 61 73 73 20 | 74 68 61 74 20 61 63 74 |en pass |that act|
|000016d0| 69 6f 6e 20 74 6f 20 74 | 68 65 20 6e 61 76 69 67 |ion to t|he navig|
|000016e0| 61 74 69 6f 6e 20 6f 62 | 6a 65 63 74 0d 0d 6f 6e |ation ob|ject..on|
|000016f0| 20 64 6f 41 63 74 69 6f | 6e 20 73 70 72 20 20 0d | doActio|n spr .|
|00001700| 20 20 0d 20 20 69 66 20 | 6f 62 6a 65 63 74 50 20 | . if |objectP |
|00001710| 28 67 55 49 29 20 74 68 | 65 6e 0d 20 20 20 20 69 |(gUI) th|en. i|
|00001720| 66 20 6d 6f 75 73 65 44 | 6f 77 6e 20 28 67 55 49 |f mouseD|own (gUI|
|00001730| 2c 20 73 70 72 29 20 74 | 68 65 6e 20 72 65 74 75 |, spr) t|hen retu|
|00001740| 72 6e 0d 20 20 65 6e 64 | 20 69 66 0d 20 20 0d 20 |rn. end| if. . |
|00001750| 20 69 66 20 6f 62 6a 65 | 63 74 50 20 28 67 61 6d | if obje|ctP (gam|
|00001760| 65 4f 62 6a 29 20 74 68 | 65 6e 20 0d 20 20 20 20 |eObj) th|en . |
|00001770| 69 66 20 6d 6f 75 73 65 | 44 6f 77 6e 20 28 67 61 |if mouse|Down (ga|
|00001780| 6d 65 4f 62 6a 2c 20 73 | 70 72 29 20 74 68 65 6e |meObj, s|pr) then|
|00001790| 20 72 65 74 75 72 6e 0d | 20 20 65 6e 64 20 69 66 | return.| end if|
|000017a0| 0d 20 20 0d 20 20 70 61 | 73 73 0d 65 6e 64 0d 0d |. . pa|ss.end..|
|000017b0| 0d 2d 2d 20 69 6e 69 74 | 69 61 6c 69 7a 65 20 74 |.-- init|ialize t|
|000017c0| 68 65 20 61 63 74 69 76 | 69 74 79 2e 0d 2d 2d 20 |he activ|ity..-- |
|000017d0| 74 68 65 20 6d 6f 76 69 | 65 20 6d 75 73 74 20 62 |the movi|e must b|
|000017e0| 65 20 6f 6e 20 74 68 65 | 20 63 6f 72 72 65 63 74 |e on the| correct|
|000017f0| 20 66 72 61 6d 65 20 77 | 68 65 6e 20 74 68 69 73 | frame w|hen this|
|00001800| 20 69 73 20 63 61 6c 6c | 65 64 2e 0d 0d 6f 6e 20 | is call|ed...on |
|00001810| 69 6e 69 74 41 63 74 69 | 76 69 74 79 4c 69 62 20 |initActi|vityLib |
|00001820| 74 79 70 65 0d 20 20 69 | 66 20 6e 6f 74 20 6f 62 |type. i|f not ob|
|00001830| 6a 65 63 74 50 20 28 67 | 61 6d 65 4f 62 6a 29 20 |jectP (g|ameObj) |
|00001840| 74 68 65 6e 0d 20 20 20 | 20 63 75 72 73 6f 72 20 |then. | cursor |
|00001850| 34 0d 20 20 20 20 73 65 | 74 20 67 54 79 70 65 20 |4. se|t gType |
|00001860| 3d 20 74 79 70 65 0d 20 | 20 20 20 73 65 74 20 67 |= type. | set g|
|00001870| 61 6d 65 4f 62 6a 20 3d | 20 6e 65 77 20 28 73 63 |ameObj =| new (sc|
|00001880| 72 69 70 74 20 73 74 72 | 69 6e 67 20 28 74 79 70 |ript str|ing (typ|
|00001890| 65 29 29 0d 20 20 20 20 | 63 75 72 73 6f 72 20 2d |e)). |cursor -|
|000018a0| 31 0d 20 20 65 6e 64 20 | 69 66 0d 65 6e 64 0d 0d |1. end |if.end..|
|000018b0| 0d 2d 2d 20 73 74 61 72 | 74 20 74 68 65 20 61 63 |.-- star|t the ac|
|000018c0| 74 69 76 69 74 79 3a 0d | 0d 6f 6e 20 69 6e 69 74 |tivity:.|.on init|
|000018d0| 69 61 6c 69 7a 65 52 6f | 75 6e 64 20 63 6f 6d 6d |ializeRo|und comm|
|000018e0| 61 6e 64 0d 20 20 69 66 | 20 6f 62 6a 65 63 74 50 |and. if| objectP|
|000018f0| 20 28 67 61 6d 65 4f 62 | 6a 29 20 74 68 65 6e 0d | (gameOb|j) then.|
|00001900| 20 20 20 20 63 75 72 73 | 6f 72 20 34 0d 20 20 20 | curs|or 4. |
|00001910| 20 2d 2d 20 63 6c 65 61 | 72 42 61 6e 6e 65 72 20 | -- clea|rBanner |
|00001920| 28 67 55 49 29 20 20 2d | 2d 20 45 57 57 32 20 68 |(gUI) -|- EWW2 h|
|00001930| 61 73 20 69 6e 74 65 6c | 6c 69 67 69 62 6c 65 20 |as intel|ligible |
|00001940| 66 69 6e 61 6c 20 69 6e | 73 74 72 75 63 74 69 6f |final in|structio|
|00001950| 6e 73 2c 20 64 6f 6e 27 | 74 20 63 6c 65 61 72 20 |ns, don'|t clear |
|00001960| 74 68 65 6d 21 0d 20 20 | 20 20 69 6e 69 74 69 61 |them!. | initia|
|00001970| 6c 69 7a 65 52 6f 75 6e | 64 20 28 67 61 6d 65 4f |lizeRoun|d (gameO|
|00001980| 62 6a 29 0d 20 20 20 20 | 69 66 20 63 6f 6d 6d 61 |bj). |if comma|
|00001990| 6e 64 20 3c 3e 20 23 70 | 6c 61 79 43 6f 6e 74 72 |nd <> #p|layContr|
|000019a0| 6f 6c 20 74 68 65 6e 20 | 67 6f 20 22 70 6c 61 79 |ol then |go "play|
|000019b0| 22 0d 20 20 20 20 75 6e | 6c 6f 61 64 43 61 73 74 |". un|loadCast|
|000019c0| 20 28 67 55 49 29 0d 20 | 20 20 20 63 75 72 73 6f | (gUI). | curso|
|000019d0| 72 20 2d 31 0d 20 20 65 | 6e 64 20 69 66 0d 65 6e |r -1. e|nd if.en|
|000019e0| 64 0d 0d 0d 2d 2d 20 72 | 65 69 6e 69 74 69 61 6c |d...-- r|einitial|
|000019f0| 69 7a 65 20 74 68 65 20 | 61 63 74 69 76 69 74 79 |ize the |activity|
|00001a00| 3a 0d 0d 6f 6e 20 72 65 | 69 6e 69 74 41 63 74 69 |:..on re|initActi|
|00001a10| 76 69 74 79 0d 20 20 69 | 66 20 6f 62 6a 65 63 74 |vity. i|f object|
|00001a20| 50 20 28 67 61 6d 65 4f | 62 6a 29 20 74 68 65 6e |P (gameO|bj) then|
|00001a30| 20 6b 69 6c 6c 41 63 74 | 6f 72 4c 69 73 74 20 28 | killAct|orList (|
|00001a40| 67 61 6d 65 4f 62 6a 29 | 0d 20 20 75 70 64 61 74 |gameObj)|. updat|
|00001a50| 65 53 74 61 67 65 0d 20 | 20 67 6f 20 22 69 6e 69 |eStage. | go "ini|
|00001a60| 74 22 0d 65 6e 64 0d 0d | 0d 2d 2d 20 63 6c 6f 73 |t".end..|.-- clos|
|00001a70| 65 20 61 6c 6c 20 69 6e | 73 74 61 6e 74 69 61 74 |e all in|stantiat|
|00001a80| 65 64 20 6f 62 6a 65 63 | 74 73 20 28 61 73 20 77 |ed objec|ts (as w|
|00001a90| 69 74 68 20 65 6e 64 69 | 6e 67 20 70 6c 61 79 29 |ith endi|ng play)|
|00001aa0| 3a 0d 0d 6f 6e 20 63 6c | 6f 73 65 41 6c 6c 0d 20 |:..on cl|oseAll. |
|00001ab0| 20 69 66 20 6f 62 6a 65 | 63 74 50 20 28 67 61 6d | if obje|ctP (gam|
|00001ac0| 65 4f 62 6a 29 20 74 68 | 65 6e 20 64 65 73 74 72 |eObj) th|en destr|
|00001ad0| 75 63 74 20 28 67 61 6d | 65 4f 62 6a 29 0d 20 20 |uct (gam|eObj). |
|00001ae0| 73 65 74 20 67 61 6d 65 | 4f 62 6a 20 3d 20 30 0d |set game|Obj = 0.|
|00001af0| 20 20 69 66 20 6f 62 6a | 65 63 74 50 20 28 67 55 | if obj|ectP (gU|
|00001b00| 49 29 20 74 68 65 6e 20 | 64 65 73 74 72 75 63 74 |I) then |destruct|
|00001b10| 20 28 67 55 49 29 0d 20 | 20 73 65 74 20 67 55 49 | (gUI). | set gUI|
|00001b20| 20 3d 20 30 0d 65 6e 64 | 0d 0d 0d 0d 2d 2d 2d 2d | = 0.end|....----|
|00001b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 2d 2d |--------|-----.--|
|00001b40| 20 67 65 6e 65 72 61 6c | 20 74 6f 6f 6c 73 3a 0d | general| tools:.|
|00001b50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b60| 2d 0d 0d 0d 6f 6e 20 6b | 69 6c 6c 41 63 74 6f 72 |-...on k|illActor|
|00001b70| 4c 69 73 74 0d 20 20 6b | 69 6c 6c 41 63 74 6f 72 |List. k|illActor|
|00001b80| 4c 69 73 74 20 28 67 55 | 49 29 0d 65 6e 64 0d 0d |List (gU|I).end..|
|00001b90| 0d 2d 2d 20 63 68 65 63 | 6b 20 61 6e 64 20 63 6c |.-- chec|k and cl|
|00001ba0| 65 61 72 20 6d 65 6d 6f | 72 79 3a 0d 0d 6f 6e 20 |ear memo|ry:..on |
|00001bb0| 75 6e 6c 6f 61 64 41 6c | 6c 0d 20 20 75 6e 6c 6f |unloadAl|l. unlo|
|00001bc0| 61 64 43 61 73 74 20 28 | 67 55 49 29 0d 65 6e 64 |adCast (|gUI).end|
|00001bd0| 0d 0d 0d 2d 2d 20 64 6f | 20 61 20 62 61 73 69 63 |...-- do| a basic|
|00001be0| 20 62 75 74 74 6f 6e 20 | 61 6e 69 6d 61 74 69 6f | button |animatio|
|00001bf0| 6e 20 62 79 20 6e 61 6d | 65 0d 2d 2d 20 72 65 74 |n by nam|e.-- ret|
|00001c00| 75 72 6e 20 31 20 69 66 | 20 73 75 63 63 65 73 73 |urn 1 if| success|
|00001c10| 66 75 6c 2c 20 30 20 69 | 66 20 6e 6f 74 2e 0d 0d |ful, 0 i|f not...|
|00001c20| 6f 6e 20 62 61 73 69 63 | 4e 61 6d 65 41 6e 69 6d |on basic|NameAnim|
|00001c30| 20 6e 61 6d 65 2c 20 73 | 70 72 0d 20 20 72 65 74 | name, s|pr. ret|
|00001c40| 75 72 6e 20 62 61 73 69 | 63 4e 61 6d 65 41 6e 69 |urn basi|cNameAni|
|00001c50| 6d 20 28 67 55 49 2c 20 | 6e 61 6d 65 2c 20 73 70 |m (gUI, |name, sp|
|00001c60| 72 2c 20 36 29 0d 65 6e | 64 20 0d 0d 0d 2d 2d 20 |r, 6).en|d ...-- |
|00001c70| 74 75 72 6e 20 61 6c 6c | 20 73 70 72 69 74 65 73 |turn all| sprites|
|00001c80| 20 6f 66 66 3a 0d 0d 6f | 6e 20 73 70 72 69 74 65 | off:..o|n sprite|
|00001c90| 73 4f 66 66 20 0d 20 20 | 73 70 72 69 74 65 73 4f |sOff . |spritesO|
|00001ca0| 66 66 20 28 67 55 49 29 | 0d 65 6e 64 0d 0d 0d 2d |ff (gUI)|.end...-|
|00001cb0| 2d 20 6d 61 6e 75 61 6c | 6c 79 20 63 6c 6f 73 65 |- manual|ly close|
|00001cc0| 20 68 65 6c 70 3a 0d 0d | 6f 6e 20 63 6c 6f 73 65 | help:..|on close|
|00001cd0| 48 65 6c 70 20 0d 20 20 | 63 6c 6f 73 65 48 65 6c |Help . |closeHel|
|00001ce0| 70 57 69 6e 20 28 67 55 | 49 29 0d 65 6e 64 0d 0d |pWin (gU|I).end..|
|00001cf0| 0d 2d 2d 20 73 65 74 20 | 75 70 20 74 68 65 20 6e |.-- set |up the n|
|00001d00| 61 6d 65 20 65 6e 74 72 | 79 20 66 69 65 6c 64 20 |ame entr|y field |
|00001d10| 62 65 66 6f 72 65 20 64 | 69 73 70 6c 61 79 69 6e |before d|isplayin|
|00001d20| 67 20 74 68 65 20 6e 61 | 6d 65 20 66 69 65 6c 64 |g the na|me field|
|00001d30| 20 6f 6e 20 74 68 65 20 | 63 65 72 74 69 66 69 63 | on the |certific|
|00001d40| 61 74 65 3a 0d 0d 6f 6e | 20 73 65 74 55 70 50 72 |ate:..on| setUpPr|
|00001d50| 69 6e 74 46 69 65 6c 64 | 0d 20 20 73 65 74 20 6e |intField|. set n|
|00001d60| 61 6d 65 53 70 72 20 3d | 20 31 31 33 0d 20 20 70 |ameSpr =| 113. p|
|00001d70| 75 70 70 65 74 53 70 72 | 69 74 65 20 6e 61 6d 65 |uppetSpr|ite name|
|00001d80| 53 70 72 2c 20 46 41 4c | 53 45 0d 20 20 73 65 74 |Spr, FAL|SE. set|
|00001d90| 20 74 68 65 20 74 65 78 | 74 20 6f 66 20 6d 65 6d | the tex|t of mem|
|00001da0| 62 65 72 20 74 68 65 20 | 6d 65 6d 62 65 72 4e 75 |ber the |memberNu|
|00001db0| 6d 20 6f 66 20 73 70 72 | 69 74 65 20 6e 61 6d 65 |m of spr|ite name|
|00001dc0| 53 70 72 20 6f 66 20 63 | 61 73 74 4c 69 62 20 74 |Spr of c|astLib t|
|00001dd0| 68 65 20 63 61 73 74 4c | 69 62 4e 75 6d 20 6f 66 |he castL|ibNum of|
|00001de0| 20 73 70 72 69 74 65 20 | 6e 61 6d 65 53 70 72 20 | sprite |nameSpr |
|00001df0| 74 6f 20 22 59 6f 75 72 | 20 4e 61 6d 65 22 0d 20 |to "Your| Name". |
|00001e00| 20 73 65 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 | set the| rect of|
|00001e10| 20 6d 65 6d 62 65 72 20 | 74 68 65 20 6d 65 6d 62 | member |the memb|
|00001e20| 65 72 4e 75 6d 20 6f 66 | 20 73 70 72 69 74 65 20 |erNum of| sprite |
|00001e30| 6e 61 6d 65 53 70 72 20 | 6f 66 20 63 61 73 74 4c |nameSpr |of castL|
|00001e40| 69 62 20 74 68 65 20 63 | 61 73 74 4c 69 62 4e 75 |ib the c|astLibNu|
|00001e50| 6d 20 6f 66 20 73 70 72 | 69 74 65 20 6e 61 6d 65 |m of spr|ite name|
|00001e60| 53 70 72 20 74 6f 20 72 | 65 63 74 20 28 30 2c 30 |Spr to r|ect (0,0|
|00001e70| 2c 33 36 30 2c 34 30 29 | 0d 20 20 73 65 74 20 74 |,360,40)|. set t|
|00001e80| 68 65 20 62 6f 72 64 65 | 72 20 6f 66 20 6d 65 6d |he borde|r of mem|
|00001e90| 62 65 72 20 74 68 65 20 | 6d 65 6d 62 65 72 4e 75 |ber the |memberNu|
|00001ea0| 6d 20 6f 66 20 73 70 72 | 69 74 65 20 6e 61 6d 65 |m of spr|ite name|
|00001eb0| 53 70 72 20 6f 66 20 63 | 61 73 74 4c 69 62 20 74 |Spr of c|astLib t|
|00001ec0| 68 65 20 63 61 73 74 4c | 69 62 4e 75 6d 20 6f 66 |he castL|ibNum of|
|00001ed0| 20 73 70 72 69 74 65 20 | 6e 61 6d 65 53 70 72 20 | sprite |nameSpr |
|00001ee0| 74 6f 20 30 0d 20 20 73 | 65 74 20 74 68 65 20 65 |to 0. s|et the e|
|00001ef0| 64 69 74 61 62 6c 65 20 | 6f 66 20 6d 65 6d 62 65 |ditable |of membe|
|00001f00| 72 20 74 68 65 20 6d 65 | 6d 62 65 72 4e 75 6d 20 |r the me|mberNum |
|00001f10| 6f 66 20 73 70 72 69 74 | 65 20 6e 61 6d 65 53 70 |of sprit|e nameSp|
|00001f20| 72 20 6f 66 20 63 61 73 | 74 4c 69 62 20 74 68 65 |r of cas|tLib the|
|00001f30| 20 63 61 73 74 4c 69 62 | 4e 75 6d 20 6f 66 20 73 | castLib|Num of s|
|00001f40| 70 72 69 74 65 20 6e 61 | 6d 65 53 70 72 20 74 6f |prite na|meSpr to|
|00001f50| 20 54 52 55 45 0d 20 20 | 73 65 74 20 74 68 65 20 | TRUE. |set the |
|00001f60| 68 69 6c 69 74 65 20 6f | 66 20 6d 65 6d 62 65 72 |hilite o|f member|
|00001f70| 20 74 68 65 20 6d 65 6d | 62 65 72 4e 75 6d 20 6f | the mem|berNum o|
|00001f80| 66 20 73 70 72 69 74 65 | 20 6e 61 6d 65 53 70 72 |f sprite| nameSpr|
|00001f90| 20 6f 66 20 63 61 73 74 | 4c 69 62 20 74 68 65 20 | of cast|Lib the |
|00001fa0| 63 61 73 74 4c 69 62 4e | 75 6d 20 6f 66 20 73 70 |castLibN|um of sp|
|00001fb0| 72 69 74 65 20 6e 61 6d | 65 53 70 72 20 74 6f 20 |rite nam|eSpr to |
|00001fc0| 54 52 55 45 0d 20 20 73 | 65 74 20 74 68 65 20 73 |TRUE. s|et the s|
|00001fd0| 65 6c 53 74 61 72 74 20 | 3d 20 30 0d 20 20 73 65 |elStart |= 0. se|
|00001fe0| 74 20 74 68 65 20 73 65 | 6c 45 6e 64 20 3d 20 6c |t the se|lEnd = l|
|00001ff0| 65 6e 67 74 68 20 28 74 | 68 65 20 74 65 78 74 20 |ength (t|he text |
|00002000| 6f 66 20 6d 65 6d 62 65 | 72 20 74 68 65 20 6d 65 |of membe|r the me|
|00002010| 6d 62 65 72 4e 75 6d 20 | 6f 66 20 73 70 72 69 74 |mberNum |of sprit|
|00002020| 65 20 6e 61 6d 65 53 70 | 72 20 6f 66 20 63 61 73 |e nameSp|r of cas|
|00002030| 74 4c 69 62 20 74 68 65 | 20 63 61 73 74 4c 69 62 |tLib the| castLib|
|00002040| 4e 75 6d 20 6f 66 20 73 | 70 72 69 74 65 20 6e 61 |Num of s|prite na|
|00002050| 6d 65 53 70 72 29 0d 20 | 20 75 6e 6c 6f 61 64 43 |meSpr). | unloadC|
|00002060| 61 73 74 20 28 67 55 49 | 29 0d 65 6e 64 0d 0d 0d |ast (gUI|).end...|
|00002070| 2d 2d 20 64 6f 20 61 20 | 73 74 61 6e 64 61 72 64 |-- do a |standard|
|00002080| 20 62 75 74 74 6f 6e 20 | 61 6e 69 6d 61 74 69 6f | button |animatio|
|00002090| 6e 0d 2d 2d 20 72 65 74 | 75 72 6e 20 31 20 69 66 |n.-- ret|urn 1 if|
|000020a0| 20 73 75 63 63 65 73 73 | 66 75 6c 2e 0d 0d 6f 6e | success|ful...on|
|000020b0| 20 62 75 74 74 6f 6e 44 | 6f 77 6e 20 73 70 72 0d | buttonD|own spr.|
|000020c0| 20 20 73 65 74 20 6e 61 | 6d 65 20 3d 20 69 74 65 | set na|me = ite|
|000020d0| 6d 20 31 20 6f 66 20 74 | 68 65 20 6e 61 6d 65 20 |m 1 of t|he name |
|000020e0| 6f 66 20 6d 65 6d 62 65 | 72 20 74 68 65 20 6d 65 |of membe|r the me|
|000020f0| 6d 62 65 72 4e 75 6d 20 | 6f 66 20 73 70 72 69 74 |mberNum |of sprit|
|00002100| 65 20 73 70 72 20 6f 66 | 20 63 61 73 74 4c 69 62 |e spr of| castLib|
|00002110| 20 74 68 65 20 63 61 73 | 74 4c 49 62 4e 75 6d 20 | the cas|tLIbNum |
|00002120| 6f 66 20 73 70 72 69 74 | 65 20 73 70 72 0d 20 20 |of sprit|e spr. |
|00002130| 72 65 74 75 72 6e 20 62 | 61 73 69 63 4e 61 6d 65 |return b|asicName|
|00002140| 41 6e 69 6d 20 28 67 55 | 49 2c 20 6e 61 6d 65 2c |Anim (gU|I, name,|
|00002150| 20 73 70 72 2c 20 36 29 | 20 0d 65 6e 64 0d 0d 0d | spr, 6)| .end...|
|00002160| 2d 2d 20 70 72 69 6e 74 | 20 74 68 65 20 73 63 72 |-- print| the scr|
|00002170| 65 65 6e 20 61 72 65 61 | 2e 0d 2d 2d 20 63 75 73 |een area|..-- cus|
|00002180| 74 6f 6d 69 7a 65 20 74 | 68 65 20 61 72 65 61 20 |tomize t|he area |
|00002190| 62 79 20 70 61 73 73 69 | 6e 67 20 61 20 72 65 63 |by passi|ng a rec|
|000021a0| 74 2e 0d 0d 6f 6e 20 70 | 72 69 6e 74 20 72 2c 20 |t...on p|rint r, |
|000021b0| 6e 6f 54 65 78 74 46 6c | 61 67 2c 20 6e 6f 46 6f |noTextFl|ag, noFo|
|000021c0| 6f 74 65 72 46 6c 61 67 | 0d 20 20 70 72 69 6e 74 |oterFlag|. print|
|000021d0| 41 63 74 69 76 69 74 79 | 53 70 61 63 65 20 28 67 |Activity|Space (g|
|000021e0| 55 49 2c 20 72 2c 20 6e | 6f 54 65 78 74 46 6c 61 |UI, r, n|oTextFla|
|000021f0| 67 2c 20 6e 6f 46 6f 6f | 74 65 72 46 6c 61 67 29 |g, noFoo|terFlag)|
|00002200| 0d 65 6e 64 0d 0d 0d 2d | 2d 20 63 6c 65 61 72 20 |.end...-|- clear |
|00002210| 74 68 65 20 69 6e 70 75 | 74 20 62 75 66 66 65 72 |the inpu|t buffer|
|00002220| 3a 0d 0d 6f 6e 20 63 6c | 65 61 72 45 76 65 6e 74 |:..on cl|earEvent|
|00002230| 73 0d 20 20 63 6c 65 61 | 72 45 76 65 6e 74 73 20 |s. clea|rEvents |
|00002240| 28 67 55 49 29 0d 65 6e | 64 0d 0d 0d 2d 2d 20 73 |(gUI).en|d...-- s|
|00002250| 65 74 20 75 70 20 74 68 | 65 20 62 61 6e 6e 65 72 |et up th|e banner|
|00002260| 20 61 6e 64 20 70 6c 61 | 79 20 69 74 2e 0d 2d 2d | and pla|y it..--|
|00002270| 20 70 61 73 73 20 74 68 | 65 20 72 6f 6f 74 6e 61 | pass th|e rootna|
|00002280| 6d 65 20 66 6f 72 20 74 | 68 65 20 62 61 6e 6e 65 |me for t|he banne|
|00002290| 72 2e 0d 2d 2d 20 69 66 | 20 6e 6f 50 6c 61 79 20 |r..-- if| noPlay |
|000022a0| 3d 20 54 52 55 45 20 74 | 68 65 6e 20 64 6f 6e 27 |= TRUE t|hen don'|
|000022b0| 74 20 70 6c 61 79 20 74 | 68 65 20 62 61 6e 6e 65 |t play t|he banne|
|000022c0| 72 20 61 66 74 65 72 20 | 73 65 74 74 69 6e 67 20 |r after |setting |
|000022d0| 69 74 20 75 70 0d 0d 6f | 6e 20 73 65 74 55 70 42 |it up..o|n setUpB|
|000022e0| 61 6e 6e 65 72 20 72 6f | 6f 74 4e 61 6d 65 2c 20 |anner ro|otName, |
|000022f0| 6e 6f 50 6c 61 79 0d 20 | 20 69 66 20 6f 62 6a 65 |noPlay. | if obje|
|00002300| 63 74 50 20 28 67 55 49 | 29 20 74 68 65 6e 20 73 |ctP (gUI|) then s|
|00002310| 65 74 55 70 42 61 6e 6e | 65 72 20 28 67 55 49 2c |etUpBann|er (gUI,|
|00002320| 20 72 6f 6f 74 4e 61 6d | 65 2c 20 6e 6f 50 6c 61 | rootNam|e, noPla|
|00002330| 79 29 0d 20 20 65 6c 73 | 65 20 61 6c 65 72 74 20 |y). els|e alert |
|00002340| 22 67 55 49 20 77 61 73 | 20 6e 6f 74 20 69 6e 73 |"gUI was| not ins|
|00002350| 74 61 6e 74 69 61 74 65 | 64 2e 22 0d 65 6e 64 0d |tantiate|d.".end.|
|00002360| 0d 0d 6f 6e 20 63 6c 65 | 61 72 42 61 6e 6e 65 72 |..on cle|arBanner|
|00002370| 20 0d 20 20 69 66 20 6f | 62 6a 65 63 74 50 20 28 | . if o|bjectP (|
|00002380| 67 55 49 29 20 74 68 65 | 6e 20 63 6c 65 61 72 42 |gUI) the|n clearB|
|00002390| 61 6e 6e 65 72 20 28 67 | 55 49 29 0d 20 20 65 6c |anner (g|UI). el|
|000023a0| 73 65 20 61 6c 65 72 74 | 20 22 67 55 49 20 77 61 |se alert| "gUI wa|
|000023b0| 73 20 6e 6f 74 20 69 6e | 73 74 61 6e 74 69 61 74 |s not in|stantiat|
|000023c0| 65 64 2e 22 0d 65 6e 64 | 0d 0d 0d 0d 2d 2d 2d 2d |ed.".end|....----|
|000023d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000023e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 2d 2d |--------|-----.--|
|000023f0| 20 61 63 74 69 76 69 74 | 79 20 6d 6f 64 69 66 69 | activit|y modifi|
|00002400| 63 61 74 69 6f 6e 20 73 | 63 72 69 70 74 73 3a 0d |cation s|cripts:.|
|00002410| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002430| 2d 20 20 0d 0d 0d 2d 2d | 20 64 6f 6e 27 74 20 61 |- ...--| don't a|
|00002440| 6c 6c 6f 77 20 61 20 76 | 69 73 75 61 6c 20 63 68 |llow a v|isual ch|
|00002450| 61 6e 67 65 20 6f 66 20 | 64 69 72 65 63 74 69 6f |ange of |directio|
|00002460| 6e 20 69 6e 20 61 20 44 | 69 72 65 63 74 69 6f 6e |n in a D|irection|
|00002470| 41 72 72 6f 77 20 61 63 | 74 69 76 69 74 79 3a 0d |Arrow ac|tivity:.|
|00002480| 0d 6f 6e 20 73 68 6f 77 | 44 69 72 65 63 74 69 6f |.on show|Directio|
|00002490| 6e 4f 66 66 0d 20 20 69 | 66 20 6e 6f 74 20 6f 62 |nOff. i|f not ob|
|000024a0| 6a 65 63 74 50 20 28 67 | 61 6d 65 4f 62 6a 29 20 |jectP (g|ameObj) |
|000024b0| 74 68 65 6e 0d 20 20 20 | 20 61 6c 65 72 74 20 22 |then. | alert "|
|000024c0| 67 61 6d 65 4f 62 6a 20 | 77 61 73 20 6e 6f 74 20 |gameObj |was not |
|000024d0| 69 6e 73 74 61 6e 74 69 | 61 74 65 64 2e 22 0d 20 |instanti|ated.". |
|000024e0| 20 20 20 72 65 74 75 72 | 6e 0d 20 20 65 6e 64 20 | retur|n. end |
|000024f0| 69 66 0d 20 20 0d 20 20 | 73 68 6f 77 44 69 72 65 |if. . |showDire|
|00002500| 63 74 69 6f 6e 4f 66 66 | 20 28 67 61 6d 65 4f 62 |ctionOff| (gameOb|
|00002510| 6a 29 0d 65 6e 64 0d 0d | 0d 6f 6e 20 63 6c 65 61 |j).end..|.on clea|
|00002520| 72 43 61 6e 76 61 73 0d | 20 20 69 66 20 6e 6f 74 |rCanvas.| if not|
|00002530| 20 6f 62 6a 65 63 74 50 | 20 28 67 61 6d 65 4f 62 | objectP| (gameOb|
|00002540| 6a 29 20 74 68 65 6e 0d | 20 20 20 20 61 6c 65 72 |j) then.| aler|
|00002550| 74 20 22 67 61 6d 65 4f | 62 6a 20 77 61 73 20 6e |t "gameO|bj was n|
|00002560| 6f 74 20 69 6e 73 74 61 | 6e 74 69 61 74 65 64 2e |ot insta|ntiated.|
|00002570| 22 0d 20 20 20 20 72 65 | 74 75 72 6e 0d 20 20 65 |". re|turn. e|
|00002580| 6e 64 20 69 66 0d 20 20 | 0d 20 20 63 6c 65 61 72 |nd if. |. clear|
|00002590| 43 61 6e 76 61 73 28 67 | 61 6d 65 4f 62 6a 29 0d |Canvas(g|ameObj).|
|000025a0| 65 6e 64 0d 0d 0d 2d 2d | 20 66 6f 72 20 23 53 74 |end...--| for #St|
|000025b0| 64 50 61 69 6e 74 20 6f | 6e 6c 79 3a 0d 2d 2d 20 |dPaint o|nly:.-- |
|000025c0| 73 74 61 72 74 20 74 68 | 65 20 63 61 6e 76 61 73 |start th|e canvas|
|000025d0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 61 20 62 | screen |with a b|
|000025e0| 69 74 6d 61 70 0d 2d 2d | 20 69 66 20 74 68 69 73 |itmap.--| if this|
|000025f0| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 73 63 | modific|ation sc|
|00002600| 72 69 70 74 20 69 73 20 | 75 73 65 64 2c 20 62 65 |ript is |used, be|
|00002610| 20 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 62 | sure th|at the b|
|00002620| 69 74 6d 61 70 20 63 61 | 73 74 20 6d 65 6d 62 65 |itmap ca|st membe|
|00002630| 72 20 68 61 73 20 61 20 | 75 6e 69 71 75 65 20 6e |r has a |unique n|
|00002640| 61 6d 65 21 20 20 54 68 | 65 72 65 20 69 73 20 63 |ame! Th|ere is c|
|00002650| 75 72 72 65 6e 74 6c 79 | 20 6e 6f 20 63 68 65 63 |urrently| no chec|
|00002660| 6b 20 66 6f 72 20 69 74 | 2e 0d 2d 2d 20 61 6c 73 |k for it|..-- als|
|00002670| 6f 2c 20 74 68 65 20 62 | 69 74 6d 61 70 20 69 6d |o, the b|itmap im|
|00002680| 61 67 65 20 6d 75 73 74 | 20 62 65 20 34 36 38 20 |age must| be 468 |
|00002690| 78 20 33 34 35 0d 0d 6f | 6e 20 69 6e 69 74 53 74 |x 345..o|n initSt|
|000026a0| 61 72 74 69 6e 67 50 69 | 63 74 20 62 6d 70 4d 65 |artingPi|ct bmpMe|
|000026b0| 6d 62 65 72 4e 61 6d 65 | 0d 20 20 69 66 20 6e 6f |mberName|. if no|
|000026c0| 74 20 6f 62 6a 65 63 74 | 50 20 28 67 61 6d 65 4f |t object|P (gameO|
|000026d0| 62 6a 29 20 74 68 65 6e | 0d 20 20 20 20 61 6c 65 |bj) then|. ale|
|000026e0| 72 74 20 22 67 61 6d 65 | 4f 62 6a 20 77 61 73 20 |rt "game|Obj was |
|000026f0| 6e 6f 74 20 69 6e 73 74 | 61 6e 74 69 61 74 65 64 |not inst|antiated|
|00002700| 2e 22 0d 20 20 20 20 72 | 65 74 75 72 6e 0d 20 20 |.". r|eturn. |
|00002710| 65 6e 64 20 69 66 0d 20 | 20 0d 20 20 69 6e 69 74 |end if. | . init|
|00002720| 53 74 61 72 74 69 6e 67 | 50 69 63 74 20 28 67 61 |Starting|Pict (ga|
|00002730| 6d 65 4f 62 6a 2c 20 62 | 6d 70 4d 65 6d 62 65 72 |meObj, b|mpMember|
|00002740| 4e 61 6d 65 29 0d 65 6e | 64 0d 0d 2d 2d 20 77 69 |Name).en|d..-- wi|
|00002750| 6c 6c 20 66 6f 72 63 65 | 20 61 20 74 79 70 65 20 |ll force| a type |
|00002760| 66 6f 72 20 74 68 65 20 | 6d 6f 76 69 65 20 77 69 |for the |movie wi|
|00002770| 74 68 6f 75 74 20 69 6e | 69 74 69 61 6c 69 7a 69 |thout in|itializi|
|00002780| 6e 67 20 74 68 61 74 20 | 74 79 70 65 2e 20 0d 2d |ng that |type. .-|
|00002790| 2d 20 73 68 6f 75 6c 64 | 20 62 65 20 75 73 65 64 |- should| be used|
|000027a0| 20 69 6e 20 6e 6f 6e 2d | 73 74 61 6e 64 61 72 64 | in non-|standard|
|000027b0| 20 6d 6f 76 69 65 73 20 | 74 68 61 74 20 6e 65 65 | movies |that nee|
|000027c0| 64 20 63 65 72 74 61 69 | 6e 20 74 79 70 65 20 63 |d certai|n type c|
|000027d0| 68 61 72 61 63 74 65 72 | 69 73 74 69 63 73 20 28 |haracter|istics (|
|000027e0| 6c 69 6b 65 20 43 26 49 | 20 68 65 6c 70 20 70 6f |like C&I| help po|
|000027f0| 70 2d 75 70 29 0d 0d 6f | 6e 20 66 6f 72 63 65 41 |p-up)..o|n forceA|
|00002800| 63 74 69 76 69 74 79 54 | 79 70 65 20 74 79 70 65 |ctivityT|ype type|
|00002810| 0d 20 20 73 65 74 20 67 | 54 79 70 65 20 3d 20 74 |. set g|Type = t|
|00002820| 79 70 65 0d 65 6e 64 0d | 0d 0d 2d 2d 20 72 65 6d |ype.end.|..-- rem|
|00002830| 6f 76 65 20 63 6c 69 63 | 6b 65 64 20 67 72 61 70 |ove clic|ked grap|
|00002840| 68 69 63 73 20 66 72 6f | 6d 20 74 68 65 20 73 63 |hics fro|m the sc|
|00002850| 72 65 65 6e 20 61 66 74 | 65 72 20 74 68 65 79 20 |reen aft|er they |
|00002860| 61 72 65 20 68 69 74 2e | 0d 2d 2d 20 61 66 74 65 |are hit.|.-- afte|
|00002870| 72 20 74 68 69 73 20 63 | 61 6c 6c 2c 20 63 6c 69 |r this c|all, cli|
|00002880| 63 6b 65 64 20 6f 62 6a | 65 63 74 73 20 77 69 6c |cked obj|ects wil|
|00002890| 6c 20 64 69 73 61 70 70 | 65 61 72 20 66 72 6f 6d |l disapp|ear from|
|000028a0| 20 74 68 65 20 73 63 72 | 65 65 6e 3a 09 0d 0d 6f | the scr|een:...o|
|000028b0| 6e 20 72 65 6d 6f 76 65 | 43 6c 69 63 6b 65 64 0d |n remove|Clicked.|
|000028c0| 20 20 72 65 6d 6f 76 65 | 43 6c 69 63 6b 65 64 20 | remove|Clicked |
|000028d0| 28 67 61 6d 65 4f 62 6a | 29 0d 65 6e 64 0d 0d 0d |(gameObj|).end...|
|000028e0| 2d 2d 20 61 64 64 20 61 | 20 67 72 61 70 68 20 74 |-- add a| graph t|
|000028f0| 6f 20 74 68 65 20 61 63 | 74 69 76 69 74 79 20 28 |o the ac|tivity (|
|00002900| 74 6f 20 62 65 20 69 6e | 63 72 65 6d 65 6e 74 65 |to be in|cremente|
|00002910| 64 20 6f 6e 20 61 20 63 | 6f 72 72 65 63 74 20 68 |d on a c|orrect h|
|00002920| 69 74 29 0d 2d 2d 20 6d | 61 6b 65 47 72 61 70 68 |it).-- m|akeGraph|
|00002930| 20 28 5b 6e 61 6d 65 20 | 6f 66 20 62 61 73 6b 65 | ([name |of baske|
|00002940| 74 5d 2c 20 5b 73 70 72 | 69 74 65 4e 75 6d 20 74 |t], [spr|iteNum t|
|00002950| 6f 20 6d 6f 76 65 5d 2c | 20 5b 69 6e 63 72 65 6d |o move],| [increm|
|00002960| 65 6e 74 20 69 6e 20 70 | 69 78 65 6c 73 5d 2c 20 |ent in p|ixels], |
|00002970| 5b 64 69 72 65 63 74 69 | 6f 6e 20 6f 66 20 6d 6f |[directi|on of mo|
|00002980| 76 65 6d 65 6e 74 5d 29 | 20 20 0d 2d 2d 20 64 69 |vement])| .-- di|
|00002990| 72 65 63 74 69 6f 6e 73 | 3a 20 23 75 70 2c 20 23 |rections|: #up, #|
|000029a0| 64 6f 77 6e 2c 20 23 6c | 65 66 74 2c 20 23 72 69 |down, #l|eft, #ri|
|000029b0| 67 68 74 0d 0d 6f 6e 20 | 6d 61 6b 65 47 72 61 70 |ght..on |makeGrap|
|000029c0| 68 20 6e 61 6d 65 2c 20 | 73 70 72 2c 20 70 69 78 |h name, |spr, pix|
|000029d0| 65 6c 73 2c 20 64 69 72 | 65 63 74 69 6f 6e 0d 20 |els, dir|ection. |
|000029e0| 20 69 66 20 6e 6f 74 20 | 6f 62 6a 65 63 74 50 20 | if not |objectP |
|000029f0| 28 67 61 6d 65 4f 62 6a | 29 20 74 68 65 6e 20 0d |(gameObj|) then .|
|00002a00| 20 20 20 20 61 6c 65 72 | 74 20 22 67 61 6d 65 4f | aler|t "gameO|
|00002a10| 62 6a 20 77 61 73 20 6e | 6f 74 20 69 6e 73 74 61 |bj was n|ot insta|
|00002a20| 6e 74 69 61 74 65 64 2e | 22 0d 20 20 20 20 72 65 |ntiated.|". re|
|00002a30| 74 75 72 6e 0d 20 20 65 | 6e 64 20 69 66 0d 20 20 |turn. e|nd if. |
|00002a40| 0d 20 20 6d 61 6b 65 47 | 72 61 70 68 20 28 67 61 |. makeG|raph (ga|
|00002a50| 6d 65 4f 62 6a 2c 20 6e | 61 6d 65 2c 20 73 70 72 |meObj, n|ame, spr|
|00002a60| 2c 20 70 69 78 65 6c 73 | 2c 20 64 69 72 65 63 74 |, pixels|, direct|
|00002a70| 69 6f 6e 29 0d 65 6e 64 | 0d 0d 0d 2d 2d 20 74 75 |ion).end|...-- tu|
|00002a80| 72 6e 20 6f 66 66 20 74 | 68 65 20 73 6e 61 70 20 |rn off t|he snap |
|00002a90| 74 6f 20 66 75 6e 63 74 | 69 6f 6e 61 6c 69 74 79 |to funct|ionality|
|00002aa0| 20 66 6f 72 20 64 72 61 | 67 20 64 72 6f 70 20 61 | for dra|g drop a|
|00002ab0| 6e 64 20 73 74 69 63 6b | 20 61 63 74 69 76 69 74 |nd stick| activit|
|00002ac0| 69 65 73 2e 0d 2d 2d 20 | 61 66 74 65 72 20 74 68 |ies..-- |after th|
|00002ad0| 69 73 20 63 61 6c 6c 2c | 20 64 72 61 67 20 26 20 |is call,| drag & |
|00002ae0| 73 74 69 63 6b 20 67 61 | 6d 65 73 20 77 69 6c 6c |stick ga|mes will|
|00002af0| 20 6e 6f 74 20 73 6e 61 | 70 20 74 6f 20 70 6f 73 | not sna|p to pos|
|00002b00| 74 69 74 69 6f 6e 2e 0d | 0d 6f 6e 20 73 6e 61 70 |tition..|.on snap|
|00002b10| 4f 66 66 20 0d 20 20 69 | 66 20 6e 6f 74 20 6f 62 |Off . i|f not ob|
|00002b20| 6a 65 63 74 50 20 28 67 | 61 6d 65 4f 62 6a 29 20 |jectP (g|ameObj) |
|00002b30| 74 68 65 6e 20 0d 20 20 | 20 20 61 6c 65 72 74 20 |then . | alert |
|00002b40| 22 67 61 6d 65 4f 62 6a | 20 77 61 73 20 6e 6f 74 |"gameObj| was not|
|00002b50| 20 69 6e 73 74 61 6e 74 | 69 61 74 65 64 2e 22 0d | instant|iated.".|
|00002b60| 20 20 20 20 72 65 74 75 | 72 6e 0d 20 20 65 6e 64 | retu|rn. end|
|00002b70| 20 69 66 0d 20 20 0d 20 | 20 73 6e 61 70 4f 66 66 | if. . | snapOff|
|00002b80| 20 28 67 61 6d 65 4f 62 | 6a 29 0d 65 6e 64 0d 0d | (gameOb|j).end..|
|00002b90| 0d 2d 2d 20 74 75 72 6e | 20 74 68 65 20 72 61 6e |.-- turn| the ran|
|00002ba0| 64 6f 6d 69 7a 69 6e 67 | 20 6f 66 66 3a 0d 0d 6f |domizing| off:..o|
|00002bb0| 6e 20 72 61 6e 64 6f 6d | 4f 66 66 0d 20 20 72 61 |n random|Off. ra|
|00002bc0| 6e 64 6f 6d 4f 66 66 20 | 28 67 61 6d 65 4f 62 6a |ndomOff |(gameObj|
|00002bd0| 29 0d 65 6e 64 0d 0d 0d | 2d 2d 20 73 65 74 20 74 |).end...|-- set t|
|00002be0| 68 65 20 6d 61 78 69 6d | 75 6d 20 61 6c 6c 6f 77 |he maxim|um allow|
|00002bf0| 61 62 6c 65 20 63 6c 69 | 63 6b 61 62 6c 65 73 20 |able cli|ckables |
|00002c00| 69 6e 20 61 20 72 6f 75 | 6e 64 20 6f 66 20 70 6c |in a rou|nd of pl|
|00002c10| 61 79 3a 0d 0d 6f 6e 20 | 73 65 74 4d 61 78 43 6c |ay:..on |setMaxCl|
|00002c20| 69 63 6b 61 62 6c 65 73 | 20 6e 75 6d 0d 20 20 73 |ickables| num. s|
|00002c30| 65 74 4d 61 78 43 6c 69 | 63 6b 61 62 6c 65 73 20 |etMaxCli|ckables |
|00002c40| 28 67 61 6d 65 4f 62 6a | 2c 20 6e 75 6d 29 0d 65 |(gameObj|, num).e|
|00002c50| 6e 64 0d 0d 0d 2d 2d 20 | 73 65 74 20 74 68 65 20 |nd...-- |set the |
|00002c60| 6f 72 64 65 72 20 6f 66 | 20 70 72 65 73 65 6e 74 |order of| present|
|00002c70| 61 74 69 6f 6e 20 28 73 | 69 6e 67 6c 65 20 70 6f |ation (s|ingle po|
|00002c80| 69 6e 74 20 73 74 79 6c | 65 73 29 20 74 6f 20 74 |int styl|es) to t|
|00002c90| 68 61 74 20 6f 66 20 74 | 68 65 20 70 6f 6f 6c 20 |hat of t|he pool |
|00002ca0| 6f 72 64 65 72 3a 0d 0d | 6f 6e 20 73 65 74 42 79 |order:..|on setBy|
|00002cb0| 50 6f 6f 6c 4f 72 64 65 | 72 20 0d 20 20 73 65 74 |PoolOrde|r . set|
|00002cc0| 42 79 50 6f 6f 6c 4f 72 | 64 65 72 20 28 67 61 6d |ByPoolOr|der (gam|
|00002cd0| 65 4f 62 6a 29 0d 65 6e | 64 0d 0d 0d 2d 2d 20 63 |eObj).en|d...-- c|
|00002ce0| 68 61 6e 67 65 20 74 68 | 65 20 68 69 6c 69 74 65 |hange th|e hilite|
|00002cf0| 20 69 6e 6b 20 66 6f 72 | 20 64 72 61 67 20 61 6e | ink for| drag an|
|00002d00| 64 20 64 72 6f 70 20 72 | 6f 6c 6c 6f 76 65 72 73 |d drop r|ollovers|
|00002d10| 2e 0d 2d 2d 20 61 6c 6c | 20 73 75 62 73 65 71 75 |..-- all| subsequ|
|00002d20| 65 6e 74 20 72 6f 6c 6c | 6f 76 65 72 73 20 77 69 |ent roll|overs wi|
|00002d30| 6c 6c 20 68 61 76 65 20 | 74 68 65 20 6e 65 77 20 |ll have |the new |
|00002d40| 68 69 6c 69 74 65 20 69 | 6e 6b 3a 0d 0d 6f 6e 20 |hilite i|nk:..on |
|00002d50| 73 65 74 48 69 6c 69 74 | 65 49 6e 6b 20 6e 75 6d |setHilit|eInk num|
|00002d60| 0d 20 20 69 66 20 6e 6f | 74 20 6f 62 6a 65 63 74 |. if no|t object|
|00002d70| 50 20 28 67 61 6d 65 4f | 62 6a 29 20 74 68 65 6e |P (gameO|bj) then|
|00002d80| 20 0d 20 20 20 20 61 6c | 65 72 74 20 22 67 61 6d | . al|ert "gam|
|00002d90| 65 4f 62 6a 20 77 61 73 | 20 6e 6f 74 20 69 6e 73 |eObj was| not ins|
|00002da0| 74 61 6e 74 69 61 74 65 | 64 2e 22 0d 20 20 20 20 |tantiate|d.". |
|00002db0| 72 65 74 75 72 6e 0d 20 | 20 65 6e 64 20 69 66 0d |return. | end if.|
|00002dc0| 20 20 0d 20 20 73 65 74 | 48 69 6c 69 74 65 49 6e | . set|HiliteIn|
|00002dd0| 6b 20 28 67 61 6d 65 4f | 62 6a 2c 20 6e 75 6d 29 |k (gameO|bj, num)|
|00002de0| 0d 65 6e 64 0d 0d 0d 2d | 2d 20 61 64 64 20 61 20 |.end...-|- add a |
|00002df0| 6a 69 67 67 6c 65 20 62 | 75 74 74 6f 6e 20 74 6f |jiggle b|utton to|
|00002e00| 20 74 68 65 20 6a 69 67 | 67 6c 65 20 62 75 74 74 | the jig|gle butt|
|00002e10| 6f 6e 20 6c 69 73 74 2e | 0d 2d 2d 20 69 66 20 6e |on list.|.-- if n|
|00002e20| 75 6d 20 69 73 20 61 6e | 20 69 6e 74 65 67 65 72 |um is an| integer|
|00002e30| 2c 20 74 68 65 6e 20 69 | 74 20 77 69 6c 6c 20 6a |, then i|t will j|
|00002e40| 69 67 67 6c 65 20 62 79 | 20 73 70 72 69 74 65 20 |iggle by| sprite |
|00002e50| 6e 75 6d 62 65 72 2c 20 | 69 66 20 69 74 20 69 73 |number, |if it is|
|00002e60| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 74 68 65 6e 0d | a comma|nd then.|
|00002e70| 2d 2d 20 69 74 20 77 69 | 6c 6c 20 6d 61 70 20 74 |-- it wi|ll map t|
|00002e80| 6f 20 61 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |o a corr|espondin|
|00002e90| 67 20 73 70 72 69 74 65 | 20 6e 75 6d 62 65 72 2e |g sprite| number.|
|00002ea0| 0d 0d 6f 6e 20 61 64 64 | 4a 69 67 67 6c 65 42 75 |..on add|JiggleBu|
|00002eb0| 74 74 6f 6e 20 6e 75 6d | 0d 20 20 63 61 73 65 20 |tton num|. case |
|00002ec0| 28 6e 75 6d 29 20 6f 66 | 20 0d 20 20 20 20 23 70 |(num) of| . #p|
|00002ed0| 72 69 6e 74 3a 20 20 73 | 65 74 20 6e 75 6d 20 3d |rint: s|et num =|
|00002ee0| 20 67 50 72 69 6e 74 65 | 72 42 0d 20 20 20 20 23 | gPrinte|rB. #|
|00002ef0| 6e 65 78 74 3a 20 20 20 | 73 65 74 20 6e 75 6d 20 |next: |set num |
|00002f00| 3d 20 67 52 69 67 68 74 | 42 0d 20 20 20 20 23 68 |= gRight|B. #h|
|00002f10| 6f 6d 65 3a 20 20 20 73 | 65 74 20 6e 75 6d 20 3d |ome: s|et num =|
|00002f20| 20 67 48 6f 6d 65 42 0d | 20 20 20 20 6f 74 68 65 | gHomeB.| othe|
|00002f30| 72 77 69 73 65 20 6e 6f | 74 68 69 6e 67 0d 20 20 |rwise no|thing. |
|00002f40| 65 6e 64 20 63 61 73 65 | 0d 20 20 0d 20 20 61 64 |end case|. . ad|
|00002f50| 64 28 74 68 65 20 61 63 | 74 6f 72 4c 69 73 74 2c |d(the ac|torList,|
|00002f60| 20 6e 65 77 28 73 63 72 | 69 70 74 20 22 4a 69 67 | new(scr|ipt "Jig|
|00002f70| 67 6c 65 53 70 72 69 74 | 65 20 43 6c 61 73 73 22 |gleSprit|e Class"|
|00002f80| 2c 20 6e 75 6d 29 29 0d | 65 6e 64 0d 0d 0d 2d 2d |, num)).|end...--|
|00002f90| 20 63 68 65 63 6b 20 74 | 6f 20 73 65 65 20 69 66 | check t|o see if|
|00002fa0| 20 77 65 20 61 72 65 20 | 64 6f 6e 65 20 77 69 74 | we are |done wit|
|00002fb0| 68 20 61 20 63 6c 69 63 | 6b 20 26 20 69 64 65 6e |h a clic|k & iden|
|00002fc0| 74 69 66 79 20 67 61 6d | 65 3a 0d 0d 6f 6e 20 63 |tify gam|e:..on c|
|00002fd0| 68 65 63 6b 44 6f 6e 65 | 20 0d 20 20 69 66 20 6f |heckDone| . if o|
|00002fe0| 62 6a 65 63 74 50 20 28 | 67 61 6d 65 4f 62 6a 29 |bjectP (|gameObj)|
|00002ff0| 20 74 68 65 6e 20 64 6f | 6e 65 20 28 67 61 6d 65 | then do|ne (game|
|00003000| 4f 62 6a 29 0d 65 6e 64 | 0d 0d 0d 2d 2d 20 6d 6f |Obj).end|...-- mo|
|00003010| 76 65 20 73 74 72 61 69 | 67 68 74 20 74 6f 20 74 |ve strai|ght to t|
|00003020| 68 65 20 6e 65 78 74 20 | 61 63 74 69 76 69 74 79 |he next |activity|
|00003030| 20 69 6e 20 74 68 65 20 | 73 65 72 69 65 73 20 28 | in the |series (|
|00003040| 69 66 20 74 68 65 20 6c | 61 73 74 20 74 68 65 6e |if the l|ast then|
|00003050| 20 72 65 74 75 72 6e 20 | 74 6f 20 6d 61 69 6e 20 | return |to main |
|00003060| 6d 65 6e 75 29 0d 2d 2d | 20 64 6f 20 6e 6f 74 20 |menu).--| do not |
|00003070| 70 61 73 73 20 67 6f 2e | 0d 0d 6f 6e 20 6e 65 78 |pass go.|..on nex|
|00003080| 74 41 63 74 69 76 69 74 | 79 20 0d 20 20 69 66 20 |tActivit|y . if |
|00003090| 6f 62 6a 65 63 74 50 20 | 28 67 55 49 29 20 74 68 |objectP |(gUI) th|
|000030a0| 65 6e 20 6e 65 78 74 20 | 28 67 55 49 29 0d 65 6e |en next |(gUI).en|
|000030b0| 64 0d 0d 0d 2d 2d 20 69 | 6e 69 74 69 61 6c 69 7a |d...-- i|nitializ|
|000030c0| 65 20 61 20 70 69 63 74 | 75 72 65 20 6c 69 6e 6b |e a pict|ure link|
|000030d0| 2e 0d 2d 2d 20 66 6f 72 | 20 43 26 49 20 61 6e 64 |..-- for| C&I and|
|000030e0| 20 73 69 6e 67 6c 65 20 | 70 6f 69 6e 74 20 67 61 | single |point ga|
|000030f0| 6d 65 73 2c 20 61 20 70 | 69 63 74 75 72 65 20 77 |mes, a p|icture w|
|00003100| 69 6c 6c 20 62 65 20 70 | 6c 61 63 65 64 20 69 6e |ill be p|laced in|
|00003110| 20 74 68 65 20 0d 2d 2d | 20 6c 69 6e 6b 20 73 70 | the .--| link sp|
|00003120| 72 69 74 65 20 65 61 63 | 68 20 74 69 6d 65 20 74 |rite eac|h time t|
|00003130| 68 65 20 75 73 65 72 20 | 69 73 20 70 72 6f 6d 70 |he user |is promp|
|00003140| 74 65 64 2e 20 20 4c 69 | 6e 6b 20 70 69 63 74 75 |ted. Li|nk pictu|
|00003150| 72 65 73 20 73 68 6f 75 | 6c 64 20 62 65 20 70 6c |res shou|ld be pl|
|00003160| 61 63 65 64 20 69 6e 20 | 61 20 63 61 73 74 20 77 |aced in |a cast w|
|00003170| 68 6f 73 65 20 72 6f 6f | 74 20 6e 61 6d 65 0d 2d |hose roo|t name.-|
|00003180| 2d 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |- is the| name of|
|00003190| 20 74 68 65 20 63 6c 69 | 63 6b 61 62 6c 65 20 63 | the cli|ckable c|
|000031a0| 61 73 74 20 6f 72 20 74 | 68 65 20 64 72 61 67 67 |ast or t|he dragg|
|000031b0| 61 62 6c 65 20 63 61 73 | 74 20 77 69 74 68 20 22 |able cas|t with "|
|000031c0| 50 69 63 74 75 72 65 4c | 69 6e 6b 73 22 20 61 70 |PictureL|inks" ap|
|000031d0| 70 65 6e 64 65 64 2e 0d | 0d 6f 6e 20 69 6e 69 74 |pended..|.on init|
|000031e0| 50 69 63 74 4c 69 6e 6b | 20 73 70 72 0d 20 20 69 |PictLink| spr. i|
|000031f0| 66 20 6f 62 6a 65 63 74 | 50 20 28 67 61 6d 65 4f |f object|P (gameO|
|00003200| 62 6a 29 20 74 68 65 6e | 20 69 6e 69 74 50 69 63 |bj) then| initPic|
|00003210| 74 4c 69 6e 6b 20 28 67 | 61 6d 65 4f 62 6a 2c 20 |tLink (g|ameObj, |
|00003220| 73 70 72 29 0d 65 6e 64 | 0d 0d 0d 2d 2d 20 74 75 |spr).end|...-- tu|
|00003230| 72 6e 20 6f 66 66 20 74 | 68 65 20 62 65 65 70 20 |rn off t|he beep |
|00003240| 61 6e 64 20 22 67 6f 6f | 64 20 6a 6f 62 22 20 72 |and "goo|d job" r|
|00003250| 65 69 6e 66 6f 72 63 65 | 6d 65 6e 74 20 66 6f 72 |einforce|ment for|
|00003260| 20 74 68 69 73 20 61 63 | 74 69 76 69 74 79 2e 0d | this ac|tivity..|
|00003270| 2d 2d 20 6e 6f 20 70 6f | 73 69 74 69 76 65 20 72 |-- no po|sitive r|
|00003280| 65 73 70 6f 6e 73 65 20 | 73 6f 75 6e 64 20 77 69 |esponse |sound wi|
|00003290| 6c 6c 20 62 65 20 70 6c | 61 79 65 64 20 61 66 74 |ll be pl|ayed aft|
|000032a0| 65 72 20 74 68 69 73 20 | 69 73 20 63 61 6c 6c 65 |er this |is calle|
|000032b0| 64 3a 0d 0d 6f 6e 20 6e | 6f 52 65 73 70 6f 6e 73 |d:..on n|oRespons|
|000032c0| 65 20 0d 20 20 69 66 20 | 6f 62 6a 65 63 74 50 20 |e . if |objectP |
|000032d0| 28 67 61 6d 65 4f 62 6a | 29 20 74 68 65 6e 20 6e |(gameObj|) then n|
|000032e0| 6f 52 65 73 70 6f 6e 73 | 65 20 28 67 61 6d 65 4f |oRespons|e (gameO|
|000032f0| 62 6a 29 0d 65 6e 64 0d | 0d 0d 2d 2d 20 74 75 72 |bj).end.|..-- tur|
|00003300| 6e 20 6f 66 66 20 74 68 | 65 20 70 6f 73 69 74 69 |n off th|e positi|
|00003310| 76 65 20 49 44 20 73 6f | 75 6e 64 20 66 6f 72 20 |ve ID so|und for |
|00003320| 63 6c 69 63 6b 20 61 6e | 64 20 69 64 65 6e 74 69 |click an|d identi|
|00003330| 66 79 20 67 61 6d 65 73 | 2e 0d 2d 2d 20 28 75 73 |fy games|..-- (us|
|00003340| 65 66 75 6c 20 66 6f 72 | 20 69 6e 63 6c 75 64 69 |eful for| includi|
|00003350| 6e 67 20 49 44 20 73 6f | 75 6e 64 73 20 69 6e 20 |ng ID so|unds in |
|00003360| 61 6e 69 6d 61 74 69 6f | 6e 20 73 65 71 75 65 6e |animatio|n sequen|
|00003370| 63 65 73 2e 29 0d 0d 6f | 6e 20 6e 6f 49 44 53 6f |ces.)..o|n noIDSo|
|00003380| 75 6e 64 0d 20 20 69 66 | 20 6f 62 6a 65 63 74 50 |und. if| objectP|
|00003390| 20 28 67 61 6d 65 4f 62 | 6a 29 20 74 68 65 6e 20 | (gameOb|j) then |
|000033a0| 6e 6f 49 44 53 6f 75 6e | 64 20 28 67 61 6d 65 4f |noIDSoun|d (gameO|
|000033b0| 62 6a 29 0d 65 6e 64 0d | 0d 0d 2d 2d 20 69 6e 20 |bj).end.|..-- in |
|000033c0| 64 72 61 67 20 64 72 6f | 70 20 26 20 73 74 69 63 |drag dro|p & stic|
|000033d0| 6b 20 65 78 65 72 63 69 | 73 65 2c 20 64 6f 20 6e |k exerci|se, do n|
|000033e0| 6f 74 20 67 69 76 65 20 | 70 6f 73 20 6f 72 20 6e |ot give |pos or n|
|000033f0| 65 67 20 72 65 69 6e 66 | 6f 72 63 65 6d 65 6e 74 |eg reinf|orcement|
|00003400| 20 64 75 72 69 6e 67 20 | 70 6c 61 79 2e 20 20 0d | during |play. .|
|00003410| 2d 2d 20 48 6f 77 65 76 | 65 72 2c 20 67 69 76 65 |-- Howev|er, give|
|00003420| 20 70 6f 73 69 74 69 76 | 65 20 72 65 69 6e 66 6f | positiv|e reinfo|
|00003430| 72 63 65 6d 65 6e 74 20 | 75 70 6f 6e 20 63 6f 6d |rcement |upon com|
|00003440| 70 6c 65 74 69 6f 6e 2e | 0d 0d 6f 6e 20 77 61 69 |pletion.|..on wai|
|00003450| 74 52 65 73 70 6f 6e 73 | 65 20 0d 20 20 77 61 69 |tRespons|e . wai|
|00003460| 74 52 65 73 70 6f 6e 73 | 65 20 28 67 61 6d 65 4f |tRespons|e (gameO|
|00003470| 62 6a 29 0d 65 6e 64 0d | 0d 0d 2d 2d 2d 2d 2d 2d |bj).end.|..------|
|00003480| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 2d 2d 20 |--------|----.-- |
|00003490| 66 6f 72 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 0d |for deve|lopment.|
|000034a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034b0| 2d 2d 0d 0d 2d 2d 20 64 | 65 62 75 67 20 61 62 73 |--..-- d|ebug abs|
|000034c0| 74 72 61 63 74 69 6f 6e | 3a 0d 0d 6f 6e 20 64 65 |traction|:..on de|
|000034d0| 62 75 67 20 69 6e 66 6f | 0d 20 20 69 66 20 74 68 |bug info|. if th|
|000034e0| 65 20 6f 70 74 69 6f 6e | 44 6f 77 6e 20 74 68 65 |e option|Down the|
|000034f0| 6e 20 70 75 74 20 69 6e | 66 6f 0d 65 6e 64 0d 0d |n put in|fo.end..|
|00003500| 0d 2d 2d 20 64 65 66 61 | 75 6c 74 20 6d 6f 75 73 |.-- defa|ult mous|
|00003510| 65 44 6f 77 6e 20 62 65 | 68 61 76 69 6f 72 2e 0d |eDown be|havior..|
|00003520| 0d 6f 6e 20 6d 6f 75 73 | 65 44 6f 77 6e 0d 20 20 |.on mous|eDown. |
|00003530| 6e 6f 74 68 69 6e 67 0d | 65 6e 64 0d 0d 0d 6f 6e |nothing.|end...on|
|00003540| 20 74 69 6d 65 4f 75 74 | 20 0d 20 20 69 66 20 6f | timeOut| . if o|
|00003550| 62 6a 65 63 74 50 20 28 | 67 61 6d 65 4f 62 6a 29 |bjectP (|gameObj)|
|00003560| 20 74 68 65 6e 20 74 69 | 6d 65 4f 75 74 20 28 67 | then ti|meOut (g|
|00003570| 61 6d 65 4f 62 6a 29 0d | 20 20 69 66 20 6f 62 6a |ameObj).| if obj|
|00003580| 65 63 74 50 20 28 67 55 | 49 29 20 74 68 65 6e 20 |ectP (gU|I) then |
|00003590| 74 69 6d 65 4f 75 74 20 | 28 67 55 49 29 0d 65 6e |timeOut |(gUI).en|
|000035a0| 64 0d 0d 0d 6f 6e 20 65 | 6e 74 65 72 46 72 61 6d |d...on e|nterFram|
|000035b0| 65 0d 20 20 69 66 20 6f | 62 6a 65 63 74 50 20 28 |e. if o|bjectP (|
|000035c0| 67 61 6d 65 4f 62 6a 29 | 20 74 68 65 6e 20 73 74 |gameObj)| then st|
|000035d0| 65 70 46 72 61 6d 65 20 | 28 67 61 6d 65 4f 62 6a |epFrame |(gameObj|
|000035e0| 29 0d 20 20 69 66 20 6f | 62 6a 65 63 74 50 20 28 |). if o|bjectP (|
|000035f0| 67 55 49 29 20 74 68 65 | 6e 20 73 74 65 70 46 72 |gUI) the|n stepFr|
|00003600| 61 6d 65 20 28 67 55 49 | 29 0d 65 6e 64 0d 0d 0d |ame (gUI|).end...|
|00003610| 2d 2d 61 64 64 65 64 20 | 62 79 20 61 6c 65 78 20 |--added |by alex |
|00003620| 6d 2e 0d 2d 2d 70 6c 61 | 79 73 20 73 65 76 65 72 |m..--pla|ys sever|
|00003630| 61 6c 20 61 75 64 69 6f | 20 66 69 6c 65 73 20 61 |al audio| files a|
|00003640| 6e 64 20 61 6e 69 6d 61 | 74 65 73 20 73 70 65 61 |nd anima|tes spea|
|00003650| 6b 65 72 0d 6f 6e 20 61 | 6e 69 6d 61 74 65 53 70 |ker.on a|nimateSp|
|00003660| 65 61 6b 65 72 20 67 53 | 70 65 61 6b 65 72 42 2c |eaker gS|peakerB,|
|00003670| 61 75 64 69 6f 4c 69 73 | 74 0d 20 20 72 65 70 65 |audioLis|t. repe|
|00003680| 61 74 20 77 69 74 68 20 | 61 75 64 69 6f 20 69 6e |at with |audio in|
|00003690| 20 61 75 64 69 6f 4c 69 | 73 74 0d 20 20 20 20 70 | audioLi|st. p|
|000036a0| 75 70 70 65 74 53 6f 75 | 6e 64 20 28 61 75 64 69 |uppetSou|nd (audi|
|000036b0| 6f 26 22 2c 70 72 6f 6d | 70 74 22 29 2c 31 0d 20 |o&",prom|pt"),1. |
|000036c0| 20 20 20 75 70 64 61 74 | 65 73 74 61 67 65 0d 20 | updat|estage. |
|000036d0| 20 20 20 73 65 74 20 69 | 3d 31 0d 20 20 20 20 72 | set i|=1. r|
|000036e0| 65 70 65 61 74 20 77 68 | 69 6c 65 20 73 6f 75 6e |epeat wh|ile soun|
|000036f0| 64 42 75 73 79 28 31 29 | 0d 20 20 20 20 20 20 2d |dBusy(1)|. -|
|00003700| 2d 4a 43 4f 44 45 0d 20 | 20 20 20 20 20 74 68 65 |-JCODE. | the|
|00003710| 4d 65 6d 4e 61 6d 65 20 | 3d 20 22 73 70 65 61 6b |MemName |= "speak|
|00003720| 65 72 2c 22 26 69 0d 20 | 20 20 20 20 20 73 65 74 |er,"&i. | set|
|00003730| 20 74 68 65 4d 65 6d 62 | 65 72 20 3d 20 6d 65 6d | theMemb|er = mem|
|00003740| 62 65 72 20 74 68 65 4d | 65 6d 4e 61 6d 65 20 6f |ber theM|emName o|
|00003750| 66 20 63 61 73 74 4c 69 | 62 20 22 55 49 2e 63 73 |f castLi|b "UI.cs|
|00003760| 74 22 0d 20 20 20 20 20 | 20 73 65 74 20 74 68 65 |t". | set the|
|00003770| 20 6d 65 6d 62 65 72 20 | 6f 66 20 73 70 72 69 74 | member |of sprit|
|00003780| 65 20 67 53 70 65 61 6b | 65 72 42 20 3d 20 74 68 |e gSpeak|erB = th|
|00003790| 65 4d 65 6d 62 65 72 0d | 20 20 20 20 20 20 2d 2d |eMember.| --|
|000037a0| 45 4e 44 20 4a 43 4f 44 | 45 0d 20 20 20 20 20 20 |END JCOD|E. |
|000037b0| 75 70 64 61 74 65 53 74 | 61 67 65 0d 20 20 20 20 |updateSt|age. |
|000037c0| 20 20 61 77 61 69 74 20 | 30 2e 32 0d 20 20 20 20 | await |0.2. |
|000037d0| 20 20 73 65 74 20 69 3d | 69 2b 31 0d 20 20 20 20 | set i=|i+1. |
|000037e0| 20 20 69 66 20 69 3d 33 | 20 74 68 65 6e 20 73 65 | if i=3| then se|
|000037f0| 74 20 69 3d 31 0d 20 20 | 20 20 65 6e 64 20 72 65 |t i=1. | end re|
|00003800| 70 65 61 74 0d 20 20 20 | 20 73 65 74 20 74 68 65 |peat. | set the|
|00003810| 20 6d 65 6d 62 65 72 20 | 6f 66 20 73 70 72 69 74 | member |of sprit|
|00003820| 65 20 67 53 70 65 61 6b | 65 72 42 3d 6d 65 6d 62 |e gSpeak|erB=memb|
|00003830| 65 72 20 22 73 70 65 61 | 6b 65 72 22 20 20 6f 66 |er "spea|ker" of|
|00003840| 20 63 61 73 74 4c 69 62 | 20 22 55 49 2e 63 73 74 | castLib| "UI.cst|
|00003850| 22 0d 20 20 20 20 75 70 | 64 61 74 65 53 74 61 67 |". up|dateStag|
|00003860| 65 0d 20 20 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |e. end |repeat.e|
|00003870| 6e 64 0d 0d 0d 6f 6e 20 | 61 77 61 69 74 20 74 0d |nd...on |await t.|
|00003880| 20 20 73 74 61 72 74 74 | 69 6d 65 72 0d 20 20 72 | startt|imer. r|
|00003890| 65 70 65 61 74 20 77 68 | 69 6c 65 20 74 68 65 20 |epeat wh|ile the |
|000038a0| 74 69 6d 65 72 20 3c 36 | 30 2a 74 0d 20 20 20 20 |timer <6|0*t. |
|000038b0| 75 70 64 61 74 65 73 74 | 61 67 65 0d 20 20 65 6e |updatest|age. en|
|000038c0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 1e 47 6c 6f |d repeat|.end.Glo|
|000038d0| 62 61 6c 20 53 63 72 69 | 70 74 73 20 66 6f 72 20 |bal Scri|pts for |
|000038e0| 49 6e 74 65 67 72 61 74 | 69 6f 6e 00 00 6d 00 46 |Integrat|ion..m.F|
|000038f0| 03 c7 04 26 00 00 0d 73 | 00 00 0d 73 00 01 00 00 |...&...s|...s....|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 14 00 2c fc e6 00 00 | 14 67 03 27 3f 7a d2 79 |...,....|.g.'?z.y|
|00003920| 54 65 6d 70 20 55 73 65 | 72 00 00 03 74 53 41 43 |Temp Use|r...tSAC|
|00003930| 8a 06 00 00 00 00 00 0b | 00 00 06 7c 00 00 00 02 |........|...|....|
|00003940| 00 00 00 14 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 02 00 14 00 00 | 00 00 00 00 05 ae 00 00 |........|........|
|00003960| 05 be 00 00 05 be 00 00 | 05 be 00 00 05 be 00 00 |........|........|
|00003970| 05 d2 00 00 05 e8 00 00 | 05 e8 00 00 05 e8 00 00 |........|........|
|00003980| 05 e8 00 00 05 e8 00 00 | 05 fc 00 00 05 fc 00 00 |........|........|
|00003990| 06 04 00 00 06 04 00 00 | 06 04 00 00 06 04 00 00 |........|........|
|000039a0| 06 04 00 00 06 08 00 00 | 06 12 2d 2d 20 2d 2d 0d |........|..-- --.|
|000039b0| 2d 2d 20 2d 2d 20 4d 61 | 69 6e 20 53 63 72 69 70 |-- -- Ma|in Scrip|
|000039c0| 74 73 0d 2d 2d 20 2d 2d | 0d 2d 2d 0d 2d 2d 20 2d |ts.-- --|.--.-- -|
|000039d0| 2d 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |- the fo|llowing |
|000039e0| 73 63 72 69 70 74 73 20 | 6d 75 73 74 20 62 65 20 |scripts |must be |
|000039f0| 63 6f 70 69 65 64 20 69 | 6e 74 65 72 6e 61 6c 6c |copied i|nternall|
|00003a00| 79 20 66 6f 72 20 61 6c | 6c 20 61 63 74 69 76 69 |y for al|l activi|
|00003a10| 74 69 65 73 20 61 6e 64 | 20 75 6e 63 6f 6d 6d 65 |ties and| uncomme|
|00003a20| 6e 74 65 64 0d 2d 2d 0d | 2d 2d 6f 6e 20 73 74 61 |nted.--.|--on sta|
|00003a30| 72 74 4d 6f 76 69 65 0d | 2d 2d 20 20 09 73 74 61 |rtMovie.|-- .sta|
|00003a40| 72 74 4c 69 62 20 28 29 | 0d 2d 2d 20 20 0d 2d 2d |rtLib ()|.-- .--|
|00003a50| 20 20 09 2d 2d 20 66 65 | 65 6c 20 66 72 65 65 20 | .-- fe|el free |
|00003a60| 74 6f 20 61 64 64 20 79 | 6f 75 72 20 6f 77 6e 20 |to add y|our own |
|00003a70| 73 74 61 72 74 4d 6f 76 | 69 65 20 63 6f 64 65 20 |startMov|ie code |
|00003a80| 68 65 72 65 2e 0d 2d 2d | 65 6e 64 0d 2d 2d 0d 2d |here..--|end.--.-|
|00003a90| 2d 0d 2d 2d 6f 6e 20 73 | 74 6f 70 4d 6f 76 69 65 |-.--on s|topMovie|
|00003aa0| 0d 2d 2d 20 20 09 73 74 | 6f 70 4c 69 62 20 28 29 |.-- .st|opLib ()|
|00003ab0| 0d 2d 2d 20 20 0d 2d 2d | 20 20 09 2d 2d 20 66 65 |.-- .--| .-- fe|
|00003ac0| 65 6c 20 66 72 65 65 20 | 74 6f 20 61 64 64 20 79 |el free |to add y|
|00003ad0| 6f 75 72 20 6f 77 6e 20 | 73 74 6f 70 4d 6f 76 69 |our own |stopMovi|
|00003ae0| 65 20 63 6f 64 65 20 68 | 65 72 65 2e 0d 2d 2d 65 |e code h|ere..--e|
|00003af0| 6e 64 0d 2d 2d 0d 2d 2d | 0d 2d 2d 20 2d 2d 20 69 |nd.--.--|.-- -- i|
|00003b00| 6e 69 74 69 61 6c 69 7a | 65 20 74 68 65 20 61 63 |nitializ|e the ac|
|00003b10| 74 69 76 69 74 79 2e 20 | 20 73 68 6f 75 6c 64 20 |tivity. | should |
|00003b20| 62 65 20 63 61 6c 6c 65 | 64 20 6f 6e 20 74 68 65 |be calle|d on the|
|00003b30| 20 22 69 6e 69 74 22 20 | 66 72 61 6d 65 2e 20 20 | "init" |frame. |
|00003b40| 0d 2d 2d 20 2d 2d 20 49 | 66 20 77 65 20 61 72 65 |.-- -- I|f we are|
|00003b50| 20 75 73 69 6e 67 20 61 | 20 74 65 6d 70 6c 61 74 | using a| templat|
|00003b60| 65 2c 20 74 68 65 20 6d | 6f 76 69 65 20 77 69 6c |e, the m|ovie wil|
|00003b70| 6c 20 6a 75 6d 70 20 74 | 6f 20 74 68 65 20 22 70 |l jump t|o the "p|
|00003b80| 6c 61 79 22 20 66 72 61 | 6d 65 2e 20 0d 2d 2d 0d |lay" fra|me. .--.|
|00003b90| 2d 2d 6f 6e 20 69 6e 69 | 74 41 63 74 69 76 69 74 |--on ini|tActivit|
|00003ba0| 79 20 0d 2d 2d 20 20 09 | 69 6e 69 74 41 63 74 69 |y .-- .|initActi|
|00003bb0| 76 69 74 79 4c 69 62 20 | 28 23 4d 61 74 63 68 47 |vityLib |(#MatchG|
|00003bc0| 61 6d 65 29 20 20 0d 2d | 2d 20 20 09 2d 2d 20 70 |ame) .-|- .-- p|
|00003bd0| 6c 61 63 65 20 74 68 65 | 20 63 6f 72 72 65 63 74 |lace the| correct|
|00003be0| 20 61 63 74 69 76 69 74 | 79 20 74 79 70 65 20 69 | activit|y type i|
|00003bf0| 6e 20 70 61 72 65 6e 74 | 68 65 73 65 73 2e 0d 2d |n parent|heses..-|
|00003c00| 2d 20 20 0d 2d 2d 20 20 | 09 2d 2d 20 70 6f 73 73 |- .-- |.-- poss|
|00003c10| 69 62 6c 65 20 61 63 74 | 69 76 69 74 79 20 74 79 |ible act|ivity ty|
|00003c20| 70 65 73 3a 0d 2d 2d 20 | 20 09 2d 2d 20 23 53 69 |pes:.-- | .-- #Si|
|00003c30| 6e 67 6c 65 50 6f 69 6e | 74 0d 2d 2d 20 20 09 2d |nglePoin|t.-- .-|
|00003c40| 2d 20 23 44 72 61 67 44 | 72 6f 70 53 74 69 63 6b |- #DragD|ropStick|
|00003c50| 0d 2d 2d 20 20 09 2d 2d | 20 23 44 72 61 67 44 72 |.-- .--| #DragDr|
|00003c60| 6f 70 48 69 64 65 0d 2d | 2d 20 20 20 2d 2d 20 23 |opHide.-|- -- #|
|00003c70| 43 6c 69 63 6b 49 64 65 | 6e 74 69 66 79 0d 2d 2d |ClickIde|ntify.--|
|00003c80| 20 20 09 2d 2d 20 23 4d | 61 74 63 68 47 61 6d 65 | .-- #M|atchGame|
|00003c90| 0d 2d 2d 20 20 09 2d 2d | 20 23 4e 6f 6e 53 74 61 |.-- .--| #NonSta|
|00003ca0| 6e 64 61 72 64 20 20 2d | 2d 20 79 6f 75 20 61 72 |ndard -|- you ar|
|00003cb0| 65 20 6d 61 6b 69 6e 67 | 20 61 20 63 75 73 74 6f |e making| a custo|
|00003cc0| 6d 20 61 63 74 69 76 69 | 74 79 2e 0d 2d 2d 20 20 |m activi|ty..-- |
|00003cd0| 20 2d 2d 20 23 44 72 61 | 67 44 72 6f 70 43 6f 6c | -- #Dra|gDropCol|
|00003ce0| 6f 72 20 20 2d 2d 20 64 | 72 61 67 20 64 72 6f 70 |or -- d|rag drop|
|00003cf0| 20 63 68 61 6e 67 65 73 | 20 73 74 61 74 65 20 6f | changes| state o|
|00003d00| 66 20 74 61 72 67 65 74 | 73 20 75 6e 74 69 6c 20 |f target|s until |
|00003d10| 61 6c 6c 20 74 61 72 67 | 65 74 73 20 61 72 65 20 |all targ|ets are |
|00003d20| 63 68 61 6e 67 65 64 2e | 0d 2d 2d 20 20 20 2d 2d |changed.|.-- --|
|00003d30| 20 23 44 69 72 65 63 74 | 69 6f 6e 41 72 72 6f 77 | #Direct|ionArrow|
|00003d40| 73 0d 2d 2d 20 20 20 2d | 2d 20 23 53 74 64 50 61 |s.-- -|- #StdPa|
|00003d50| 69 6e 74 0d 0d 0d 2d 2d | 20 2d 2d 20 41 63 74 69 |int...--| -- Acti|
|00003d60| 76 69 74 79 20 4d 6f 64 | 69 66 69 63 61 74 69 6f |vity Mod|ificatio|
|00003d70| 6e 20 53 63 72 69 70 74 | 73 20 77 69 6c 6c 20 62 |n Script|s will b|
|00003d80| 65 20 70 6c 61 63 65 64 | 20 68 65 72 65 2e 0d 2d |e placed| here..-|
|00003d90| 2d 20 2d 2d 20 6c 6f 6f | 6b 20 66 6f 72 20 70 6f |- -- loo|k for po|
|00003da0| 73 73 69 62 69 6c 69 74 | 69 65 73 20 61 6e 64 20 |ssibilit|ies and |
|00003db0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 69 6e |document|ation in|
|00003dc0| 20 74 68 65 20 6d 6f 76 | 69 65 20 73 63 72 69 70 | the mov|ie scrip|
|00003dd0| 74 20 63 61 6c 6c 65 64 | 20 22 47 6c 6f 62 61 6c |t called| "Global|
|00003de0| 20 53 63 72 69 70 74 73 | 20 66 6f 72 20 49 6e 74 | Scripts| for Int|
|00003df0| 65 67 72 61 74 69 6f 6e | 22 0d 0d 0d 2d 2d 20 20 |egration|"...-- |
|00003e00| 09 69 6e 69 74 69 61 6c | 69 7a 65 52 6f 75 6e 64 |.initial|izeRound|
|00003e10| 20 28 5b 63 6f 6d 6d 61 | 6e 64 5d 29 20 20 2d 2d | ([comma|nd]) --|
|00003e20| 20 74 68 69 73 20 73 68 | 6f 75 6c 64 20 62 65 20 | this sh|ould be |
|00003e30| 74 68 65 20 6c 61 73 74 | 20 63 61 6c 6c 20 69 6e |the last| call in|
|00003e40| 20 74 68 69 73 20 68 61 | 6e 64 6c 65 72 2e 0d 2d | this ha|ndler..-|
|00003e50| 2d 20 20 2d 2d 20 70 61 | 73 73 20 63 6f 6d 6d 61 |- -- pa|ss comma|
|00003e60| 6e 64 20 23 70 6c 61 79 | 43 6f 6e 74 72 6f 6c 20 |nd #play|Control |
|00003e70| 74 6f 20 72 65 74 61 69 | 6e 20 63 6f 6e 74 72 6f |to retai|n contro|
|00003e80| 6c 20 6f 66 20 77 68 65 | 6e 20 74 6f 20 67 6f 20 |l of whe|n to go |
|00003e90| 74 6f 20 74 68 65 20 22 | 70 6c 61 79 22 20 66 72 |to the "|play" fr|
|00003ea0| 61 6d 65 2e 0d 2d 2d 20 | 20 2d 2d 20 6f 74 68 65 |ame..-- | -- othe|
|00003eb0| 72 77 69 73 65 20 64 6f | 20 6e 6f 74 20 70 61 73 |rwise do| not pas|
|00003ec0| 73 20 61 20 63 6f 6d 6d | 61 6e 64 2e 0d 2d 2d 20 |s a comm|and..-- |
|00003ed0| 20 2d 2d 20 6f 6e 6c 79 | 20 75 73 65 20 74 68 69 | -- only| use thi|
|00003ee0| 73 20 63 6f 6d 6d 61 6e | 64 20 77 69 74 68 20 64 |s comman|d with d|
|00003ef0| 72 61 67 20 61 6e 64 20 | 64 72 6f 70 21 20 20 6e |rag and |drop! n|
|00003f00| 6f 74 20 63 20 26 20 69 | 20 61 6e 64 20 6e 6f 74 |ot c & i| and not|
|00003f10| 20 73 69 6e 67 6c 65 20 | 70 6f 69 6e 74 21 0d 2d | single |point!.-|
|00003f20| 2d 20 20 2d 2d 20 64 6f | 20 6e 6f 74 20 63 61 6c |- -- do| not cal|
|00003f30| 6c 20 69 6e 69 74 69 61 | 6c 69 7a 65 52 6f 75 6e |l initia|lizeRoun|
|00003f40| 64 20 77 69 74 68 20 23 | 53 74 64 50 61 69 6e 74 |d with #|StdPaint|
|00003f50| 2e 0d 2d 2d 65 6e 64 0d | 0e 53 61 6d 70 6c 65 20 |..--end.|.Sample |
|00003f60| 53 63 72 69 70 74 73 00 | 00 59 01 3f 03 13 04 6e |Scripts.|.Y.?...n|
|00003f70| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 01 00 00 |........|........|
|00003f80| 00 00 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 14 00 2c 00 40 | 00 00 02 71 02 58 3f 7a |.....,.@|...q.X?z|
|00003fb0| d2 79 54 65 6d 70 20 55 | 73 65 72 00 00 03 74 53 |.yTemp U|ser...tS|
|00003fc0| 41 43 ea 00 00 00 00 00 | 00 0b 00 00 00 dc 00 00 |AC......|........|
|00003fd0| 00 02 00 00 00 14 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 03 00 14 | 00 00 00 00 00 00 00 1e |........|........|
|00003ff0| 00 00 00 1e 00 00 00 1e | 00 00 00 1e 00 00 00 1e |........|........|
|00004000| 00 00 00 32 00 00 00 48 | 00 00 00 48 00 00 00 48 |...2...H|...H...H|
|00004010| 00 00 00 48 00 00 00 48 | 00 00 00 5c 00 00 00 5c |...H...H|...\...\|
|00004020| 00 00 00 64 00 00 00 64 | 00 00 00 64 00 00 00 64 |...d...d|...d...d|
|00004030| 00 00 00 64 00 00 00 68 | 00 00 00 72 6f 6e 20 6d |...d...h|...ron m|
|00004040| 6f 75 73 65 44 6f 77 6e | 20 0d 20 20 63 6c 6f 73 |ouseDown| . clos|
|00004050| 65 48 65 6c 70 20 0d 65 | 6e 64 00 2a 00 00 02 f7 |eHelp .e|nd.*....|
|00004060| 03 f8 00 00 00 00 00 00 | 00 00 00 01 00 00 00 01 |........|........|
|00004070| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00004080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004090| 00 00 00 00 00 14 00 2c | 00 40 00 00 00 61 02 58 |.......,|.@...a.X|
|000040a0| 3f 7a d2 79 54 65 6d 70 | 20 55 73 65 72 00 00 01 |?z.yTemp| User...|
|000040b0| 74 53 41 43 e0 01 00 00 | 00 00 00 0b 00 00 01 d2 |tSAC....|........|
|000040c0| 00 00 00 02 00 00 00 14 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 04 | 00 14 00 00 00 00 00 00 |........|........|
|000040e0| 01 0a 00 00 01 14 00 00 | 01 14 00 00 01 14 00 00 |........|........|
|000040f0| 01 14 00 00 01 28 00 00 | 01 3e 00 00 01 3e 00 00 |.....(..|.>...>..|
|00004100| 01 3e 00 00 01 3e 00 00 | 01 3e 00 00 01 52 00 00 |.>...>..|.>...R..|
|00004110| 01 52 00 00 01 5a 00 00 | 01 5a 00 00 01 5a 00 00 |.R...Z..|.Z...Z..|
|00004120| 01 5a 00 00 01 5a 00 00 | 01 5e 00 00 01 68 2d 2d |.Z...Z..|.^...h--|
|00004130| 0d 2d 2d 20 54 65 6d 70 | 6c 61 74 65 0d 2d 2d 0d |.-- Temp|late.--.|
|00004140| 0d 70 72 6f 70 65 72 74 | 79 20 61 6e 63 65 73 74 |.propert|y ancest|
|00004150| 6f 72 0d 0d 0d 6f 6e 20 | 6e 65 77 20 6d 65 0d 20 |or...on |new me. |
|00004160| 20 2d 2d 20 73 65 74 20 | 63 6f 6e 73 74 61 6e 74 | -- set |constant|
|00004170| 73 3a 0d 20 20 0d 20 20 | 0d 20 20 2d 2d 20 69 6e |s:. . |. -- in|
|00004180| 69 74 69 61 6c 69 7a 65 | 20 74 68 65 20 61 6e 63 |itialize| the anc|
|00004190| 65 73 74 6f 72 3a 0d 20 | 20 73 65 74 20 61 6e 63 |estor:. | set anc|
|000041a0| 65 73 74 6f 72 20 3d 20 | 30 0d 20 20 0d 20 20 2d |estor = |0. . -|
|000041b0| 2d 20 64 6f 20 6f 74 68 | 65 72 20 69 6e 69 74 69 |- do oth|er initi|
|000041c0| 61 6c 69 7a 61 74 69 6f | 6e 73 3a 0d 20 20 0d 20 |alizatio|ns:. . |
|000041d0| 20 72 65 74 75 72 6e 20 | 6d 65 0d 65 6e 64 0d 0d | return |me.end..|
|000041e0| 0d 6f 6e 20 64 65 73 74 | 72 75 63 74 20 6d 65 0d |.on dest|ruct me.|
|000041f0| 20 20 69 66 20 6f 62 6a | 65 63 74 50 20 28 61 6e | if obj|ectP (an|
|00004200| 63 65 73 74 6f 72 29 20 | 74 68 65 6e 20 64 65 73 |cestor) |then des|
|00004210| 74 72 75 63 74 20 28 61 | 6e 63 65 73 74 6f 72 29 |truct (a|ncestor)|
|00004220| 0d 20 20 73 65 74 20 61 | 6e 63 65 73 74 6f 72 20 |. set a|ncestor |
|00004230| 3d 20 30 0d 65 6e 64 0d | 08 54 65 6d 70 6c 61 74 |= 0.end.|.Templat|
|00004240| 65 00 00 40 01 61 02 99 | 03 f4 00 00 00 00 00 00 |e..@.a..|........|
|00004250| 00 00 00 01 00 00 00 01 | 00 00 00 00 00 0b 00 09 |........|........|
|00004260| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 14 00 2c |........|.......,|
|00004280| 00 40 00 00 01 9e 03 32 | 3f 7a d2 79 54 65 6d 70 |.@.....2|?z.yTemp|
|00004290| 20 55 73 65 72 00 00 07 | 74 53 41 43 13 0a 00 00 | User...|tSAC....|
|000042a0| 00 00 00 0b 00 00 0a 05 | 00 00 00 02 00 00 00 14 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 05 |........|........|
|000042c0| 00 14 00 00 00 00 00 00 | 05 73 00 00 05 87 00 00 |........|.s......|
|000042d0| 05 87 00 00 05 87 00 00 | 05 87 00 00 05 9b 00 00 |........|........|
|000042e0| 09 71 00 00 09 71 00 00 | 09 71 00 00 09 71 00 00 |.q...q..|.q...q..|
|000042f0| 09 71 00 00 09 85 00 00 | 09 85 00 00 09 8d 00 00 |.q......|........|
|00004300| 09 8d 00 00 09 8d 00 00 | 09 8d 00 00 09 8d 00 00 |........|........|
|00004310| 09 91 00 00 09 9b 2d 2d | 0d 2d 2d 20 4a 69 67 67 |......--|.-- Jigg|
|00004320| 6c 65 53 70 72 69 74 65 | 0d 2d 2d 0d 0d 2d 2d 20 |leSprite|.--..-- |
|00004330| 74 68 69 73 20 61 63 74 | 6f 72 4c 69 73 74 20 63 |this act|orList c|
|00004340| 6c 61 73 73 20 77 69 6c | 6c 20 6a 69 67 67 6c 65 |lass wil|l jiggle|
|00004350| 20 74 68 65 20 70 61 73 | 73 65 64 20 73 70 72 69 | the pas|sed spri|
|00004360| 74 65 2e 0d 0d 0d 70 72 | 6f 70 65 72 74 79 20 6d |te....pr|operty m|
|00004370| 79 53 70 72 69 74 65 0d | 70 72 6f 70 65 72 74 79 |ySprite.|property|
|00004380| 20 6d 79 4c 6f 63 0d 70 | 72 6f 70 65 72 74 79 20 | myLoc.p|roperty |
|00004390| 6d 79 52 61 6e 67 65 0d | 70 72 6f 70 65 72 74 79 |myRange.|property|
|000043a0| 20 6d 79 44 65 6c 61 79 | 0d 70 72 6f 70 65 72 74 | myDelay|.propert|
|000043b0| 79 20 6c 61 73 74 55 70 | 64 61 74 65 0d 70 72 6f |y lastUp|date.pro|
|000043c0| 70 65 72 74 79 20 61 6e | 63 65 73 74 6f 72 0d 0d |perty an|cestor..|
|000043d0| 0d 6f 6e 20 6e 65 77 20 | 6d 65 2c 20 77 68 61 74 |.on new |me, what|
|000043e0| 53 70 72 69 74 65 0d 20 | 20 73 65 74 20 6d 79 53 |Sprite. | set myS|
|000043f0| 70 72 69 74 65 20 3d 20 | 77 68 61 74 53 70 72 69 |prite = |whatSpri|
|00004400| 74 65 0d 20 20 70 75 70 | 70 65 74 53 70 72 69 74 |te. pup|petSprit|
|00004410| 65 20 6d 79 53 70 72 69 | 74 65 2c 20 54 52 55 45 |e mySpri|te, TRUE|
|00004420| 0d 20 20 0d 20 20 73 65 | 74 20 6d 79 4c 6f 63 20 |. . se|t myLoc |
|00004430| 3d 20 74 68 65 20 6c 6f | 63 20 6f 66 20 73 70 72 |= the lo|c of spr|
|00004440| 69 74 65 20 6d 79 53 70 | 72 69 74 65 0d 20 20 73 |ite mySp|rite. s|
|00004450| 65 74 20 6d 79 52 61 6e | 67 65 20 3d 20 36 0d 20 |et myRan|ge = 6. |
|00004460| 20 73 65 74 20 6d 79 44 | 65 6c 61 79 20 3d 20 31 | set myD|elay = 1|
|00004470| 30 0d 20 20 0d 20 20 73 | 65 74 20 61 6e 63 65 73 |0. . s|et ances|
|00004480| 74 6f 72 20 3d 20 30 0d | 20 20 0d 20 20 72 65 74 |tor = 0.| . ret|
|00004490| 75 72 6e 20 6d 65 0d 65 | 6e 64 0d 0d 6f 6e 20 73 |urn me.e|nd..on s|
|000044a0| 74 65 70 46 72 61 6d 65 | 20 6d 65 0d 20 20 73 65 |tepFrame| me. se|
|000044b0| 74 20 64 65 6c 74 61 48 | 20 3d 20 30 0d 20 20 73 |t deltaH| = 0. s|
|000044c0| 65 74 20 64 65 6c 74 61 | 56 20 3d 20 30 0d 20 20 |et delta|V = 0. |
|000044d0| 0d 20 20 69 66 20 76 6f | 69 64 50 28 6c 61 73 74 |. if vo|idP(last|
|000044e0| 55 70 64 61 74 65 29 20 | 74 68 65 6e 20 0d 20 20 |Update) |then . |
|000044f0| 20 20 73 65 74 20 6c 61 | 73 74 55 70 64 61 74 65 | set la|stUpdate|
|00004500| 20 3d 20 74 68 65 20 74 | 69 6d 65 72 0d 20 20 65 | = the t|imer. e|
|00004510| 6e 64 20 69 66 0d 20 20 | 0d 20 20 69 66 20 74 68 |nd if. |. if th|
|00004520| 65 20 74 69 6d 65 72 20 | 3e 20 28 6c 61 73 74 55 |e timer |> (lastU|
|00004530| 70 64 61 74 65 20 2b 20 | 6d 79 44 65 6c 61 79 29 |pdate + |myDelay)|
|00004540| 20 74 68 65 6e 0d 20 20 | 20 20 69 66 20 72 61 6e | then. | if ran|
|00004550| 64 6f 6d 28 32 30 29 20 | 3e 20 31 30 20 74 68 65 |dom(20) |> 10 the|
|00004560| 6e 0d 20 20 20 20 20 20 | 0d 20 20 20 20 20 20 2d |n. |. -|
|00004570| 2d 20 72 6f 6c 6c 20 74 | 68 65 20 64 69 63 65 20 |- roll t|he dice |
|00004580| 74 6f 20 73 65 65 20 77 | 68 69 63 68 20 63 6f 6d |to see w|hich com|
|00004590| 70 6f 6e 65 6e 74 20 77 | 65 20 63 68 61 6e 67 65 |ponent w|e change|
|000045a0| 20 20 0d 20 20 20 20 20 | 20 69 66 20 72 61 6e 64 | . | if rand|
|000045b0| 6f 6d 28 31 30 29 20 3c | 20 35 20 74 68 65 6e 0d |om(10) <| 5 then.|
|000045c0| 20 20 20 20 20 20 20 20 | 73 65 74 20 64 65 6c 74 | |set delt|
|000045d0| 61 48 20 3d 20 72 61 6e | 64 6f 6d 28 6d 79 52 61 |aH = ran|dom(myRa|
|000045e0| 6e 67 65 29 0d 20 20 20 | 20 20 20 65 6e 64 20 69 |nge). | end i|
|000045f0| 66 0d 20 20 20 20 20 20 | 0d 20 20 20 20 20 20 69 |f. |. i|
|00004600| 66 20 72 61 6e 64 6f 6d | 28 31 30 29 20 3c 20 35 |f random|(10) < 5|
|00004610| 20 74 68 65 6e 0d 20 20 | 20 20 20 20 20 20 73 65 | then. | se|
|00004620| 74 20 64 65 6c 74 61 56 | 20 3d 20 72 61 6e 64 6f |t deltaV| = rando|
|00004630| 6d 28 6d 79 52 61 6e 67 | 65 29 0d 20 20 20 20 20 |m(myRang|e). |
|00004640| 20 65 6e 64 20 69 66 0d | 20 20 20 20 20 20 0d 20 | end if.| . |
|00004650| 20 20 20 65 6c 73 65 0d | 20 20 20 20 20 20 2d 2d | else.| --|
|00004660| 20 72 6f 6c 6c 20 74 68 | 65 20 64 69 63 65 20 74 | roll th|e dice t|
|00004670| 6f 20 73 65 65 20 77 68 | 69 63 68 20 63 6f 6d 70 |o see wh|ich comp|
|00004680| 6f 6e 65 6e 74 20 77 65 | 20 63 68 61 6e 67 65 20 |onent we| change |
|00004690| 20 0d 20 20 20 20 20 20 | 69 66 20 72 61 6e 64 6f | . |if rando|
|000046a0| 6d 28 31 30 29 20 3e 20 | 35 20 74 68 65 6e 0d 20 |m(10) > |5 then. |
|000046b0| 20 20 20 20 20 20 20 73 | 65 74 20 64 65 6c 74 61 | s|et delta|
|000046c0| 48 20 3d 20 2d 28 72 61 | 6e 64 6f 6d 28 6d 79 52 |H = -(ra|ndom(myR|
|000046d0| 61 6e 67 65 29 29 0d 20 | 20 20 20 20 20 65 6e 64 |ange)). | end|
|000046e0| 20 69 66 0d 20 20 20 20 | 20 20 0d 20 20 20 20 20 | if. | . |
|000046f0| 20 69 66 20 72 61 6e 64 | 6f 6d 28 31 30 29 20 3e | if rand|om(10) >|
|00004700| 20 35 20 74 68 65 6e 0d | 20 20 20 20 20 20 20 20 | 5 then.| |
|00004710| 73 65 74 20 64 65 6c 74 | 61 56 20 3d 20 2d 28 72 |set delt|aV = -(r|
|00004720| 61 6e 64 6f 6d 28 6d 79 | 52 61 6e 67 65 29 29 0d |andom(my|Range)).|
|00004730| 20 20 20 20 20 20 65 6e | 64 20 69 66 20 20 0d 20 | en|d if . |
|00004740| 20 20 20 65 6e 64 20 69 | 66 0d 20 20 20 20 0d 20 | end i|f. . |
|00004750| 20 20 20 73 65 74 20 74 | 68 65 20 6c 6f 63 56 20 | set t|he locV |
|00004760| 6f 66 20 73 70 72 69 74 | 65 20 6d 79 53 70 72 69 |of sprit|e mySpri|
|00004770| 74 65 20 3d 20 74 68 65 | 20 6c 6f 63 56 20 6f 66 |te = the| locV of|
|00004780| 20 6d 79 4c 6f 63 20 2b | 20 64 65 6c 74 61 56 0d | myLoc +| deltaV.|
|00004790| 20 20 20 20 73 65 74 20 | 74 68 65 20 6c 6f 63 48 | set |the locH|
|000047a0| 20 6f 66 20 73 70 72 69 | 74 65 20 6d 79 53 70 72 | of spri|te mySpr|
|000047b0| 69 74 65 20 3d 20 74 68 | 65 20 6c 6f 63 48 20 6f |ite = th|e locH o|
|000047c0| 66 20 6d 79 4c 6f 63 20 | 2b 20 64 65 6c 74 61 48 |f myLoc |+ deltaH|
|000047d0| 0d 20 20 20 20 75 70 64 | 61 74 65 53 74 61 67 65 |. upd|ateStage|
|000047e0| 0d 20 20 20 20 0d 20 20 | 20 20 73 65 74 20 6c 61 |. . | set la|
|000047f0| 73 74 55 70 64 61 74 65 | 20 3d 20 74 68 65 20 74 |stUpdate| = the t|
|00004800| 69 6d 65 72 0d 20 20 65 | 6e 64 20 69 66 0d 65 6e |imer. e|nd if.en|
|00004810| 64 0d 0d 6f 6e 20 64 65 | 73 74 72 75 63 74 20 6d |d..on de|struct m|
|00004820| 65 0d 20 20 70 75 70 70 | 65 74 53 70 72 69 74 65 |e. pupp|etSprite|
|00004830| 20 6d 79 53 70 72 69 74 | 65 2c 20 46 41 4c 53 45 | mySprit|e, FALSE|
|00004840| 0d 20 20 69 66 20 6f 62 | 6a 65 63 74 50 20 28 61 |. if ob|jectP (a|
|00004850| 6e 63 65 73 74 6f 72 29 | 20 74 68 65 6e 20 64 65 |ncestor)| then de|
|00004860| 73 74 72 75 63 74 20 28 | 61 6e 63 65 73 74 6f 72 |struct (|ancestor|
|00004870| 29 0d 20 20 73 65 74 20 | 61 6e 63 65 73 74 6f 72 |). set |ancestor|
|00004880| 20 3d 20 30 0d 65 6e 64 | 0d 12 4a 69 67 67 6c 65 | = 0.end|..Jiggle|
|00004890| 53 70 72 69 74 65 20 43 | 6c 61 73 73 00 00 36 00 |Sprite C|lass..6.|
|000048a0| 7e 03 47 03 03 00 00 00 | 00 00 00 00 00 00 01 00 |~.G.....|........|
|000048b0| 00 00 31 00 00 00 00 00 | 0b 00 09 00 04 00 00 00 |..1.....|........|
|000048c0| 09 00 00 00 00 00 00 00 | 00 00 4d 00 0b 00 09 00 |........|..M.....|
|000048d0| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 00 81 00 |........|........|
|000048e0| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 82 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|00004900| 00 00 00 00 00 00 92 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004910| 09 00 00 00 00 00 00 00 | 00 00 93 00 0b 00 09 00 |........|........|
|00004920| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 00 b9 00 |........|........|
|00004930| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 bb 00 0b 00 09 00 | 04 01 00 00 09 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 d0 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004960| 09 00 00 00 00 00 00 00 | 00 00 d7 00 0b 00 09 00 |........|........|
|00004970| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 00 df 00 |........|........|
|00004980| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 fc 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|000049a0| 00 00 00 00 00 01 04 00 | 0b 00 09 00 04 00 00 00 |........|........|
|000049b0| 09 00 00 00 00 00 00 00 | 00 01 14 00 0b 00 09 00 |........|........|
|000049c0| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 01 19 00 |........|........|
|000049d0| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 01 2e 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|000049f0| 00 00 00 00 00 01 36 00 | 0b 00 09 00 04 00 00 00 |......6.|........|
|00004a00| 09 00 00 00 00 00 00 00 | 00 01 3d 00 0b 00 09 00 |........|..=.....|
|00004a10| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 01 44 00 |........|......D.|
|00004a20| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 01 4f 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |..O.....|........|
|00004a40| 00 00 00 00 00 01 56 00 | 0b 00 09 00 04 00 00 00 |......V.|........|
|00004a50| 09 00 00 00 00 00 00 00 | 00 01 65 00 0b 00 09 00 |........|..e.....|
|00004a60| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 01 6d 00 |........|......m.|
|00004a70| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004a80| 00 01 86 00 0b 00 09 00 | 04 01 00 00 09 00 00 00 |........|........|
|00004a90| 00 00 00 00 00 01 95 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004aa0| 09 00 00 00 00 00 00 00 | 00 02 22 00 0b 00 09 00 |........|..".....|
|00004ab0| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 02 29 00 |........|......).|
|00004ac0| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 02 c6 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|00004ae0| 00 00 00 00 00 02 cd 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004af0| 09 00 00 00 00 00 00 00 | 00 03 1c 00 0b 00 09 00 |........|........|
|00004b00| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 03 23 00 |........|......#.|
|00004b10| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 03 b7 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|00004b30| 00 00 00 00 00 03 be 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004b40| 09 00 00 00 00 00 00 00 | 00 04 10 00 0b 00 09 00 |........|........|
|00004b50| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 04 17 00 |........|........|
|00004b60| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 04 54 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |..T.....|........|
|00004b80| 00 00 00 00 00 04 5c 00 | 0b 00 09 00 04 00 00 00 |......\.|........|
|00004b90| 09 00 00 00 00 00 00 00 | 00 04 6b 00 0b 00 09 00 |........|..k.....|
|00004ba0| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 04 70 00 |........|......p.|
|00004bb0| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 04 95 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |........|........|
|00004bd0| 00 00 00 00 00 04 9d 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004be0| 09 00 00 00 00 00 00 00 | 00 04 ac 00 0b 00 09 00 |........|........|
|00004bf0| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 04 b1 00 |........|........|
|00004c00| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004c10| 00 04 fd 00 0b 00 09 00 | 04 01 00 00 09 00 00 00 |........|........|
|00004c20| 00 00 00 00 00 05 0b 00 | 0b 00 09 00 04 00 00 00 |........|........|
|00004c30| 09 00 00 00 00 00 00 00 | 00 05 1b 00 0b 00 09 00 |........|........|
|00004c40| 04 00 00 00 09 ee ee 00 | 00 00 00 00 00 05 23 00 |........|......#.|
|00004c50| 0b 00 09 00 04 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 05 52 00 0b 00 09 00 | 04 00 00 00 09 ee ee 00 |..R.....|........|
|00004c70| 00 00 00 00 00 05 5a 00 | 0b 00 09 00 04 00 00 00 |......Z.|........|
|00004c80| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c90| 00 00 00 00 00 00 00 00 | 14 00 2c 00 40 00 00 03 |........|..,.@...|
|00004ca0| 63 02 58 3f 7a d2 79 54 | 65 6d 70 20 55 73 65 72 |c.X?z.yT|emp User|
|00004cb0| 00 00 07 00 74 53 41 43 | d5 06 00 00 00 00 00 0b |....tSAC|........|
|00004cc0| 00 00 06 c7 00 00 00 02 | 00 00 00 14 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 14 00 00 |........|........|
|00004ce0| 00 00 00 00 05 0a 00 00 | 05 19 00 00 05 19 00 00 |........|........|
|00004cf0| 05 19 00 00 05 19 00 00 | 05 2d 00 00 06 33 00 00 |........|.-...3..|
|00004d00| 06 33 00 00 06 33 00 00 | 06 33 00 00 06 33 00 00 |.3...3..|.3...3..|
|00004d10| 06 47 00 00 06 47 00 00 | 06 4f 00 00 06 4f 00 00 |.G...G..|.O...O..|
|00004d20| 06 4f 00 00 06 4f 00 00 | 06 4f 00 00 06 53 00 00 |.O...O..|.O...S..|
|00004d30| 06 5d 2d 2d 0d 2d 2d 20 | 4f 62 6a 65 63 74 55 70 |.]--.-- |ObjectUp|
|00004d40| 64 61 74 65 72 0d 2d 2d | 0d 0d 2d 2d 20 74 68 69 |dater.--|..-- thi|
|00004d50| 73 20 6c 69 74 74 6c 65 | 20 63 6c 61 73 73 20 69 |s little| class i|
|00004d60| 73 20 70 6c 61 63 65 64 | 20 69 6e 20 74 68 65 20 |s placed| in the |
|00004d70| 61 63 74 6f 72 20 6c 69 | 73 74 20 61 6e 64 20 69 |actor li|st and i|
|00004d80| 73 20 72 65 73 70 6f 6e | 73 69 62 6c 65 20 66 6f |s respon|sible fo|
|00004d90| 72 0d 2d 2d 20 70 61 73 | 73 69 6e 67 20 65 76 65 |r.-- pas|sing eve|
|00004da0| 6e 74 73 20 74 6f 20 67 | 69 76 65 6e 20 69 6e 73 |nts to g|iven ins|
|00004db0| 74 61 6e 74 69 61 74 65 | 64 20 6f 62 6a 65 63 74 |tantiate|d object|
|00004dc0| 73 2c 20 74 68 65 72 65 | 62 79 20 61 76 6f 69 64 |s, there|by avoid|
|00004dd0| 69 6e 67 20 6c 6f 6e 67 | 20 72 65 70 65 61 74 20 |ing long| repeat |
|00004de0| 6c 6f 6f 70 73 20 28 69 | 2e 65 2e 20 77 68 65 6e |loops (i|.e. when|
|00004df0| 20 0d 2d 2d 20 77 61 69 | 74 69 6e 67 20 66 6f 72 | .-- wai|ting for|
|00004e00| 20 61 20 73 6f 75 6e 64 | 20 74 6f 20 66 69 6e 69 | a sound| to fini|
|00004e10| 73 68 29 0d 0d 2d 2d 20 | 66 6f 72 20 74 68 69 73 |sh)..-- |for this|
|00004e20| 20 74 6f 20 77 6f 72 6b | 20 70 72 6f 70 65 72 6c | to work| properl|
|00004e30| 79 2c 20 61 6c 6c 20 67 | 69 76 65 6e 20 6f 62 6a |y, all g|iven obj|
|00004e40| 65 63 74 73 20 6d 75 73 | 74 20 68 61 76 65 20 61 |ects mus|t have a|
|00004e50| 20 73 74 65 70 46 72 61 | 6d 65 20 68 61 6e 64 6c | stepFra|me handl|
|00004e60| 65 72 20 61 74 20 74 68 | 65 20 72 6f 6f 74 20 0d |er at th|e root .|
|00004e70| 2d 2d 20 61 6e 63 65 73 | 74 6f 72 2e 20 20 41 6c |-- ances|tor. Al|
|00004e80| 6c 20 73 74 65 70 46 72 | 61 6d 65 20 68 61 6e 64 |l stepFr|ame hand|
|00004e90| 6c 65 72 73 20 73 68 6f | 75 6c 64 20 63 61 6c 6c |lers sho|uld call|
|00004ea0| 20 61 20 73 74 65 70 46 | 72 61 6d 65 20 61 6e 63 | a stepF|rame anc|
|00004eb0| 65 73 74 6f 72 20 68 61 | 6e 64 6c 65 72 20 77 68 |estor ha|ndler wh|
|00004ec0| 65 6e 20 74 68 65 79 20 | 61 72 65 20 64 6f 6e 65 |en they |are done|
|00004ed0| 20 2d 2d 20 64 6f 69 6e | 67 20 74 68 65 69 72 20 | -- doin|g their |
|00004ee0| 61 63 74 69 6f 6e 73 2e | 20 20 54 68 69 73 20 77 |actions.| This w|
|00004ef0| 69 6c 6c 20 61 6c 6c 6f | 77 20 75 70 64 61 74 65 |ill allo|w update|
|00004f00| 73 20 66 6f 72 20 61 6c | 6c 20 63 6c 61 73 73 65 |s for al|l classe|
|00004f10| 73 20 74 68 61 74 20 77 | 61 6e 74 20 61 6e 20 75 |s that w|ant an u|
|00004f20| 70 64 61 74 65 2e 0d 0d | 0d 70 72 6f 70 65 72 74 |pdate...|.propert|
|00004f30| 79 20 61 6e 63 65 73 74 | 6f 72 0d 70 72 6f 70 65 |y ancest|or.prope|
|00004f40| 72 74 79 20 6f 62 6a 65 | 63 74 4c 69 73 74 0d 0d |rty obje|ctList..|
|00004f50| 0d 6f 6e 20 6e 65 77 20 | 6d 65 2c 20 6f 62 6a 0d |.on new |me, obj.|
|00004f60| 20 20 73 65 74 20 61 6e | 63 65 73 74 6f 72 20 3d | set an|cestor =|
|00004f70| 20 30 0d 20 20 73 65 74 | 20 6f 62 6a 65 63 74 4c | 0. set| objectL|
|00004f80| 69 73 74 20 3d 20 5b 5d | 0d 20 20 69 66 20 6f 62 |ist = []|. if ob|
|00004f90| 6a 65 63 74 50 20 28 6f | 62 6a 29 20 74 68 65 6e |jectP (o|bj) then|
|00004fa0| 20 61 64 64 20 28 6f 62 | 6a 65 63 74 4c 69 73 74 | add (ob|jectList|
|00004fb0| 2c 20 6f 62 6a 29 0d 20 | 20 72 65 74 75 72 6e 20 |, obj). | return |
|00004fc0| 6d 65 0d 65 6e 64 0d 0d | 0d 6f 6e 20 64 65 73 74 |me.end..|.on dest|
|00004fd0| 72 75 63 74 20 6d 65 0d | 20 20 73 65 74 20 6f 62 |ruct me.| set ob|
|00004fe0| 6a 65 63 74 4c 69 73 74 | 20 3d 20 30 0d 20 20 69 |jectList| = 0. i|
|00004ff0| 66 20 6f 62 6a 65 63 74 | 50 20 28 61 6e 63 65 73 |f object|P (ances|
|00005000| 74 6f 72 29 20 74 68 65 | 6e 20 64 65 73 74 72 75 |tor) the|n destru|
|00005010| 63 74 20 28 61 6e 63 65 | 73 74 6f 72 29 0d 20 20 |ct (ance|stor). |
|00005020| 73 65 74 20 61 6e 63 65 | 73 74 6f 72 20 3d 20 30 |set ance|stor = 0|
|00005030| 0d 65 6e 64 0d 0d 0d 2d | 2d 20 61 64 64 20 61 6e |.end...-|- add an|
|00005040| 20 6f 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 6c | object |to the l|
|00005050| 69 73 74 3a 0d 0d 6f 6e | 20 61 64 64 4f 62 6a 65 |ist:..on| addObje|
|00005060| 63 74 20 6d 65 2c 20 6f | 62 6a 0d 20 20 69 66 20 |ct me, o|bj. if |
|00005070| 6f 62 6a 65 63 74 50 20 | 28 6f 62 6a 29 20 74 68 |objectP |(obj) th|
|00005080| 65 6e 20 61 64 64 20 28 | 6f 62 6a 65 63 74 4c 69 |en add (|objectLi|
|00005090| 73 74 2c 20 6f 62 6a 29 | 0d 65 6e 64 0d 0d 0d 2d |st, obj)|.end...-|
|000050a0| 2d 20 72 65 6d 6f 76 65 | 20 61 6e 20 6f 62 6a 65 |- remove| an obje|
|000050b0| 63 74 20 66 72 6f 6d 20 | 74 68 65 20 6c 69 73 74 |ct from |the list|
|000050c0| 3a 0d 0d 6f 6e 20 72 65 | 6d 6f 76 65 4f 62 6a 65 |:..on re|moveObje|
|000050d0| 63 74 20 6d 65 2c 20 6f | 62 6a 0d 20 20 73 65 74 |ct me, o|bj. set|
|000050e0| 20 6e 75 6d 20 3d 20 63 | 6f 75 6e 74 20 28 6f 62 | num = c|ount (ob|
|000050f0| 6a 65 63 74 4c 69 73 74 | 29 0d 20 20 72 65 70 65 |jectList|). repe|
|00005100| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00005110| 20 6e 75 6d 0d 20 20 20 | 20 69 66 20 67 65 74 41 | num. | if getA|
|00005120| 74 20 28 6f 62 6a 65 63 | 74 4c 69 73 74 2c 20 69 |t (objec|tList, i|
|00005130| 29 20 3d 20 6f 62 6a 20 | 74 68 65 6e 20 64 65 6c |) = obj |then del|
|00005140| 65 74 65 41 74 20 28 6f | 62 6a 65 63 74 4c 69 73 |eteAt (o|bjectLis|
|00005150| 74 2c 20 69 29 0d 20 20 | 65 6e 64 20 72 65 70 65 |t, i). |end repe|
|00005160| 61 74 0d 65 6e 64 0d 0d | 0d 0d 2d 2d 20 70 61 73 |at.end..|..-- pas|
|00005170| 73 20 74 68 65 20 73 74 | 65 70 46 72 61 6d 65 20 |s the st|epFrame |
|00005180| 65 76 65 6e 74 20 74 6f | 20 65 61 63 68 20 6f 62 |event to| each ob|
|00005190| 6a 65 63 74 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |ject in |the list|
|000051a0| 3a 0d 0d 6f 6e 20 73 74 | 65 70 46 72 61 6d 65 20 |:..on st|epFrame |
|000051b0| 6d 65 0d 20 20 72 65 70 | 65 61 74 20 77 69 74 68 |me. rep|eat with|
|000051c0| 20 6f 62 6a 20 69 6e 20 | 6f 62 6a 65 63 74 4c 69 | obj in |objectLi|
|000051d0| 73 74 0d 20 20 20 20 69 | 66 20 6f 62 6a 65 63 74 |st. i|f object|
|000051e0| 50 20 28 6f 62 6a 29 20 | 74 68 65 6e 20 73 74 65 |P (obj) |then ste|
|000051f0| 70 46 72 61 6d 65 20 28 | 6f 62 6a 29 0d 20 20 65 |pFrame (|obj). e|
|00005200| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 0d 0d 0d |nd repea|t.end...|
|00005210| 6f 6e 20 61 63 74 6f 72 | 54 79 70 65 20 6d 65 0d |on actor|Type me.|
|00005220| 20 20 72 65 74 75 72 6e | 20 23 4f 62 6a 65 63 74 | return| #Object|
|00005230| 55 70 64 61 74 65 72 0d | 65 6e 64 0d 0d 4f 62 6a |Updater.|end..Obj|
|00005240| 65 63 74 55 70 64 61 74 | 65 72 00 00 72 00 4a 03 |ectUpdat|er..r.J.|
|00005250| de 04 9a 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00005260| 0d 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00005270| 00 00 00 00 00 00 00 02 | 1f 00 0b 00 09 00 04 01 |........|........|
|00005280| 00 00 09 00 00 00 00 00 | 00 00 00 02 2d 00 0b 00 |........|....-...|
|00005290| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|000052a0| 97 00 0b 00 09 00 04 01 | 00 00 09 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 02 a5 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 03 | 23 00 0b 00 09 00 04 01 |........|#.......|
|000052d0| 00 00 09 00 00 00 00 00 | 00 00 00 03 38 00 0b 00 |........|....8...|
|000052e0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 03 |........|........|
|000052f0| 91 00 0b 00 09 00 04 01 | 00 00 09 00 00 00 00 00 |........|........|
|00005300| 00 00 00 03 a8 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00005310| 00 00 00 00 00 00 00 04 | 71 00 0b 00 09 00 04 01 |........|q.......|
|00005320| 00 00 09 00 00 00 00 00 | 00 00 00 04 80 00 0b 00 |........|........|
|00005330| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 04 |........|........|
|00005340| de 00 0b 00 09 00 04 01 | 00 00 09 00 00 00 00 00 |........|........|
|00005350| 00 00 00 04 ee 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 14 00 | 2c ff 6f 00 00 02 24 02 |........|,.o...$.|
|00005380| 58 3f 7a d2 79 54 65 6d | 70 20 55 73 65 72 00 00 |X?z.yTem|p User..|
|00005390| 07 00 74 53 41 43 1d 01 | 00 00 00 00 00 0b 00 00 |..tSAC..|........|
|000053a0| 01 0f 00 00 00 02 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 07 00 14 00 00 00 00 |........|........|
|000053c0| 00 00 00 3c 00 00 00 51 | 00 00 00 51 00 00 00 51 |...<...Q|...Q...Q|
|000053d0| 00 00 00 51 00 00 00 65 | 00 00 00 7b 00 00 00 7b |...Q...e|...{...{|
|000053e0| 00 00 00 7b 00 00 00 7b | 00 00 00 7b 00 00 00 8f |...{...{|...{....|
|000053f0| 00 00 00 8f 00 00 00 97 | 00 00 00 97 00 00 00 97 |........|........|
|00005400| 00 00 00 97 00 00 00 97 | 00 00 00 9b 00 00 00 a5 |........|........|
|00005410| 6f 6e 20 65 6e 74 65 72 | 46 72 61 6d 65 0d 20 20 |on enter|Frame. |
|00005420| 63 75 72 73 6f 72 20 34 | 0d 65 6e 64 0d 0d 0d 6f |cursor 4|.end...o|
|00005430| 6e 20 65 78 69 74 46 72 | 61 6d 65 0d 20 20 63 75 |n exitFr|ame. cu|
|00005440| 72 73 6f 72 20 2d 31 0d | 65 6e 64 0d 13 73 70 6c |rsor -1.|end..spl|
|00005450| 61 73 68 20 66 72 61 6d | 65 20 73 63 72 69 70 74 |ash fram|e script|
|00005460| 00 00 27 00 03 03 60 04 | 7c 00 00 00 00 00 00 00 |..'...`.||.......|
|00005470| 00 00 01 00 00 00 01 00 | 00 00 00 00 0b 00 09 00 |........|........|
|00005480| 04 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 14 00 2c 00 |........|......,.|
|000054a0| 40 00 00 00 a3 02 58 3f | 7a d2 79 54 65 6d 70 20 |@.....X?|z.yTemp |
|000054b0| 55 73 65 72 00 00 01 20 | 74 53 41 43 a1 01 00 00 |User... |tSAC....|
|000054c0| 00 00 00 0b 00 00 01 93 | 00 00 00 02 00 00 00 14 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 08 |........|........|
|000054e0| 00 14 00 00 00 00 00 00 | 00 d5 00 00 00 d5 00 00 |........|........|
|000054f0| 00 d5 00 00 00 d5 00 00 | 00 d5 00 00 00 e9 00 00 |........|........|
|00005500| 00 ff 00 00 00 ff 00 00 | 00 ff 00 00 00 ff 00 00 |........|........|
|00005510| 00 ff 00 00 01 13 00 00 | 01 13 00 00 01 1b 00 00 |........|........|
|00005520| 01 1b 00 00 01 1b 00 00 | 01 1b 00 00 01 1b 00 00 |........|........|
|00005530| 01 1f 00 00 01 29 6f 6e | 20 65 78 69 74 46 72 61 |.....)on| exitFra|
|00005540| 6d 65 0d 20 20 67 6c 6f | 62 61 6c 20 67 43 75 72 |me. glo|bal gCur|
|00005550| 72 46 69 65 6c 64 0d 20 | 20 73 65 74 20 67 43 75 |rField. | set gCu|
|00005560| 72 72 46 69 65 6c 64 20 | 3d 20 22 6c 65 74 74 65 |rrField |= "lette|
|00005570| 72 49 6e 70 75 74 22 0d | 20 20 2d 2d 20 20 70 75 |rInput".| -- pu|
|00005580| 70 70 65 74 53 70 72 69 | 74 65 20 31 2c 20 54 52 |ppetSpri|te 1, TR|
|00005590| 55 45 0d 20 20 2d 2d 20 | 20 73 65 74 20 74 68 65 |UE. -- | set the|
|000055a0| 20 65 64 69 74 61 62 6c | 65 20 6f 66 20 6d 65 6d | editabl|e of mem|
|000055b0| 62 65 72 20 22 67 65 6e | 65 72 61 6c 49 6e 70 75 |ber "gen|eralInpu|
|000055c0| 74 22 20 74 6f 20 54 52 | 55 45 0d 20 20 2d 2d 20 |t" to TR|UE. -- |
|000055d0| 20 73 65 74 20 74 68 65 | 20 65 64 69 74 61 62 6c | set the| editabl|
|000055e0| 65 20 6f 66 20 73 70 72 | 69 74 65 20 31 20 74 6f |e of spr|ite 1 to|
|000055f0| 20 54 52 55 45 0d 20 20 | 69 6e 69 74 41 63 74 69 | TRUE. |initActi|
|00005600| 76 69 74 79 20 28 29 0d | 65 6e 64 00 2b 00 03 02 |vity ().|end.+...|
|00005610| 6e 03 3c 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |n.<.....|........|
|00005620| 01 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 14 00 | 2c 00 40 00 00 00 98 02 |........|,.@.....|
|00005650| 58 3f 7a d2 79 54 65 6d | 70 20 55 73 65 72 00 00 |X?z.yTem|p User..|
|00005660| 01 41 74 53 41 43 02 01 | 00 00 00 00 00 0b 00 00 |.AtSAC..|........|
|00005670| 00 f4 00 00 00 02 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 09 00 14 00 00 00 00 |........|........|
|00005690| 00 00 00 36 00 00 00 36 | 00 00 00 36 00 00 00 36 |...6...6|...6...6|
|000056a0| 00 00 00 36 00 00 00 4a | 00 00 00 60 00 00 00 60 |...6...J|...`...`|
|000056b0| 00 00 00 60 00 00 00 60 | 00 00 00 60 00 00 00 74 |...`...`|...`...t|
|000056c0| 00 00 00 74 00 00 00 7c | 00 00 00 7c 00 00 00 7c |...t...||...|...||
|000056d0| 00 00 00 7c 00 00 00 7c | 00 00 00 80 00 00 00 8a |...|...||........|
|000056e0| 6f 6e 20 65 78 69 74 46 | 72 61 6d 65 0d 20 20 73 |on exitF|rame. s|
|000056f0| 65 74 55 70 42 61 6e 6e | 65 72 20 28 22 62 6c 75 |etUpBann|er ("blu|
|00005700| 65 41 6e 64 59 65 6c 6c | 6f 77 22 2c 20 54 52 55 |eAndYell|ow", TRU|
|00005710| 45 29 0d 65 6e 64 00 2a | 00 03 02 6d 03 3c 00 00 |E).end.*|...m.<..|
|00005720| 00 00 00 00 00 00 00 01 | 00 00 00 01 00 00 00 00 |........|........|
|00005730| 00 0b 00 09 00 04 00 00 | 00 09 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 14 00 2c 00 40 00 00 | 00 61 02 58 3f 7a d2 79 |...,.@..|.a.X?z.y|
|00005760| 54 65 6d 70 20 55 73 65 | 72 00 00 01 74 53 41 43 |Temp Use|r...tSAC|
|00005770| ec 00 00 00 00 00 00 0b | 00 00 00 de 00 00 00 02 |........|........|
|00005780| 00 00 00 14 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 0a 00 14 00 00 | 00 00 00 00 00 20 00 00 |........|..... ..|
|000057a0| 00 20 00 00 00 20 00 00 | 00 20 00 00 00 20 00 00 |. ... ..|. ... ..|
|000057b0| 00 34 00 00 00 4a 00 00 | 00 4a 00 00 00 4a 00 00 |.4...J..|.J...J..|
|000057c0| 00 4a 00 00 00 4a 00 00 | 00 5e 00 00 00 5e 00 00 |.J...J..|.^...^..|
|000057d0| 00 66 00 00 00 66 00 00 | 00 66 00 00 00 66 00 00 |.f...f..|.f...f..|
|000057e0| 00 66 00 00 00 6a 00 00 | 00 74 6f 6e 20 65 78 69 |.f...j..|.ton exi|
|000057f0| 74 46 72 61 6d 65 0d 20 | 20 63 6c 65 61 72 42 61 |tFrame. | clearBa|
|00005800| 6e 6e 65 72 28 29 0d 65 | 6e 64 00 2b 00 03 02 78 |nner().e|nd.+...x|
|00005810| 02 35 00 00 00 00 00 00 | 00 00 00 01 00 00 00 01 |.5......|........|
|00005820| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 14 00 2c | 00 40 00 00 00 61 02 58 |.......,|.@...a.X|
|00005850| 3f 7a d2 79 54 65 6d 70 | 20 55 73 65 72 00 00 01 |?z.yTemp| User...|
|00005860| 74 53 41 43 ea 00 00 00 | 00 00 00 0b 00 00 00 dc |tSAC....|........|
|00005870| 00 00 00 02 00 00 00 14 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 0b | 00 14 00 00 00 00 00 00 |........|........|
|00005890| 00 1e 00 00 00 1e 00 00 | 00 1e 00 00 00 1e 00 00 |........|........|
|000058a0| 00 1e 00 00 00 32 00 00 | 00 48 00 00 00 48 00 00 |.....2..|.H...H..|
|000058b0| 00 48 00 00 00 48 00 00 | 00 48 00 00 00 5c 00 00 |.H...H..|.H...\..|
|000058c0| 00 5c 00 00 00 64 00 00 | 00 64 00 00 00 64 00 00 |.\...d..|.d...d..|
|000058d0| 00 64 00 00 00 64 00 00 | 00 68 00 00 00 72 6f 6e |.d...d..|.h...ron|
|000058e0| 20 65 78 69 74 46 72 61 | 6d 65 0d 20 20 63 68 65 | exitFra|me. che|
|000058f0| 63 6b 44 6f 6e 65 28 29 | 0d 65 6e 64 00 47 00 03 |ckDone()|.end.G..|
|00005900| 02 06 02 72 00 00 00 00 | 00 00 00 00 00 c1 61 98 |...r....|......a.|
|00005910| 00 01 00 00 00 00 00 0b | 00 09 00 04 00 00 00 09 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 14 | 00 2c 00 40 00 00 00 61 |........|.,.@...a|
|00005940| 02 58 3f 7a d2 79 54 65 | 6d 70 20 55 73 65 72 00 |.X?z.yTe|mp User.|
|00005950| 00 01 74 53 41 43 db 00 | 00 00 00 00 00 0b 00 00 |..tSAC..|........|
|00005960| 00 cd 00 00 00 02 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 0c 00 14 00 00 00 00 |........|........|
|00005980| 00 00 00 29 00 00 00 29 | 00 00 00 29 00 00 00 29 |...)...)|...)...)|
|00005990| 00 00 00 29 00 00 00 3d | 00 00 00 3d 00 00 00 3d |...)...=|...=...=|
|000059a0| 00 00 00 3d 00 00 00 3d | 00 00 00 3d 00 00 00 51 |...=...=|...=...Q|
|000059b0| 00 00 00 51 00 00 00 51 | 00 00 00 51 00 00 00 51 |...Q...Q|...Q...Q|
|000059c0| 00 00 00 51 00 00 00 55 | 00 00 00 59 00 00 00 63 |...Q...U|...Y...c|
|000059d0| 6f 6e 20 6d 6f 75 73 65 | 44 6f 77 6e 0d 20 20 64 |on mouse|Down. d|
|000059e0| 6f 41 63 74 69 6f 6e 20 | 28 74 68 65 20 63 6c 69 |oAction |(the cli|
|000059f0| 63 6b 4f 6e 29 0d 65 6e | 64 00 6d 00 46 03 c7 04 |ckOn).en|d.m.F...|
|00005a00| 26 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |&.......|........|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 14 00 |........|........|
|00005a20| 2c 3e ae b2 9a 3f 7a d2 | 79 54 65 6d 70 20 55 73 |,>...?z.|yTemp Us|
|00005a30| 65 72 00 00 01 65 74 53 | 41 43 fe 12 00 00 00 00 |er...etS|AC......|
|00005a40| 00 0b 00 00 12 f0 00 00 | 00 02 00 00 00 14 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0d 00 14 |........|........|
|00005a60| 00 00 00 00 00 00 12 3b | 00 00 12 48 00 00 12 48 |.......;|...H...H|
|00005a70| 00 00 12 48 00 00 12 48 | 00 00 12 5c 00 00 12 5c |...H...H|...\...\|
|00005a80| 00 00 12 5c 00 00 12 5c | 00 00 12 5c 00 00 12 5c |...\...\|...\...\|
|00005a90| 00 00 12 70 00 00 12 70 | 00 00 12 78 00 00 12 78 |...p...p|...x...x|
|00005aa0| 00 00 12 78 00 00 12 78 | 00 00 12 78 00 00 12 7c |...x...x|...x...||
|00005ab0| 00 00 12 86 2d 2d 0d 2d | 2d 20 41 70 70 6c 69 63 |....--.-|- Applic|
|00005ac0| 61 74 69 6f 6e 0d 2d 2d | 0d 0d 2d 2d 20 63 6f 6e |ation.--|..-- con|
|00005ad0| 73 74 61 6e 74 73 3a 0d | 0d 0d 70 72 6f 70 65 72 |stants:.|..proper|
|00005ae0| 74 79 20 61 6e 63 65 73 | 74 6f 72 0d 70 72 6f 70 |ty ances|tor.prop|
|00005af0| 65 72 74 79 20 73 74 65 | 70 4e 75 6d 0d 0d 67 6c |erty ste|pNum..gl|
|00005b00| 6f 62 61 6c 20 67 50 72 | 69 6e 74 65 72 42 2c 67 |obal gPr|interB,g|
|00005b10| 42 61 6e 6e 65 72 61 72 | 74 42 2c 67 4c 65 66 74 |Bannerar|tB,gLeft|
|00005b20| 42 2c 67 53 70 65 61 6b | 65 72 42 2c 67 48 6f 6d |B,gSpeak|erB,gHom|
|00005b30| 65 42 2c 67 48 65 6c 70 | 42 2c 67 52 69 67 68 74 |eB,gHelp|B,gRight|
|00005b40| 42 0d 0d 6f 6e 20 6e 65 | 77 20 6d 65 0d 20 20 73 |B..on ne|w me. s|
|00005b50| 65 74 20 61 6e 63 65 73 | 74 6f 72 20 3d 20 6e 65 |et ances|tor = ne|
|00005b60| 77 20 28 73 63 72 69 70 | 74 20 22 4e 61 76 53 74 |w (scrip|t "NavSt|
|00005b70| 72 75 63 74 53 65 74 55 | 70 22 29 0d 20 20 69 6e |ructSetU|p"). in|
|00005b80| 69 74 53 6f 75 6e 64 4c | 69 73 74 20 28 29 0d 20 |itSoundL|ist (). |
|00005b90| 20 73 65 74 75 70 20 28 | 6d 65 29 0d 20 20 73 65 | setup (|me). se|
|00005ba0| 74 20 73 74 65 70 4e 75 | 6d 20 3d 20 31 0d 20 20 |t stepNu|m = 1. |
|00005bb0| 2d 2d 20 61 64 64 20 28 | 74 68 65 20 61 63 74 6f |-- add (|the acto|
|00005bc0| 72 4c 69 73 74 2c 20 6e | 65 77 20 28 73 63 72 69 |rList, n|ew (scri|
|00005bd0| 70 74 20 22 4f 62 6a 65 | 63 74 55 70 64 61 74 65 |pt "Obje|ctUpdate|
|00005be0| 72 22 2c 20 6d 65 29 29 | 0d 20 20 72 65 74 75 72 |r", me))|. retur|
|00005bf0| 6e 20 6d 65 0d 65 6e 64 | 0d 0d 0d 6f 6e 20 64 65 |n me.end|...on de|
|00005c00| 73 74 72 75 63 74 20 6d | 65 0d 20 20 69 66 20 6f |struct m|e. if o|
|00005c10| 62 6a 65 63 74 50 20 28 | 61 6e 63 65 73 74 6f 72 |bjectP (|ancestor|
|00005c20| 29 20 74 68 65 6e 20 64 | 65 73 74 72 75 63 74 20 |) then d|estruct |
|00005c30| 28 61 6e 63 65 73 74 6f | 72 29 0d 20 20 73 65 74 |(ancesto|r). set|
|00005c40| 20 61 6e 63 65 73 74 6f | 72 20 3d 20 30 0d 65 6e | ancesto|r = 0.en|
|00005c50| 64 0d 0d 0d 2d 2d 20 6d | 6f 75 73 65 44 6f 77 6e |d...-- m|ouseDown|
|00005c60| 20 6f 6e 20 61 20 73 70 | 65 63 69 66 69 63 20 6e | on a sp|ecific n|
|00005c70| 61 76 69 67 61 74 69 6f | 6e 20 62 75 74 74 6f 6e |avigatio|n button|
|00005c80| 2e 0d 0d 6f 6e 20 6d 6f | 75 73 65 64 6f 77 6e 20 |...on mo|usedown |
|00005c90| 6d 65 2c 20 73 70 72 0d | 20 20 73 65 74 20 6d 65 |me, spr.| set me|
|00005ca0| 6d 20 3d 20 74 68 65 20 | 6d 65 6d 62 65 72 4e 75 |m = the |memberNu|
|00005cb0| 6d 20 6f 66 20 73 70 72 | 69 74 65 20 73 70 72 20 |m of spr|ite spr |
|00005cc0| 0d 20 20 73 65 74 20 63 | 4c 69 62 20 3d 20 74 68 |. set c|Lib = th|
|00005cd0| 65 20 63 61 73 74 4c 69 | 62 4e 75 6d 20 6f 66 20 |e castLi|bNum of |
|00005ce0| 73 70 72 69 74 65 20 73 | 70 72 0d 20 20 69 66 20 |sprite s|pr. if |
|00005cf0| 6d 65 6d 20 74 68 65 6e | 20 73 65 74 20 6e 61 6d |mem then| set nam|
|00005d00| 65 20 3d 20 69 74 65 6d | 20 31 20 6f 66 20 74 68 |e = item| 1 of th|
|00005d10| 65 20 6e 61 6d 65 20 6f | 66 20 6d 65 6d 62 65 72 |e name o|f member|
|00005d20| 20 6d 65 6d 20 6f 66 20 | 63 61 73 74 4c 69 62 20 | mem of |castLib |
|00005d30| 63 4c 69 62 0d 20 20 65 | 6c 73 65 20 73 65 74 20 |cLib. e|lse set |
|00005d40| 6e 61 6d 65 20 3d 20 30 | 0d 20 20 0d 20 20 63 61 |name = 0|. . ca|
|00005d50| 73 65 20 28 6e 61 6d 65 | 29 20 6f 66 0d 20 20 20 |se (name|) of. |
|00005d60| 20 22 70 72 69 6e 74 65 | 72 22 3a 20 2d 2d 20 73 | "printe|r": -- s|
|00005d70| 70 72 69 74 65 20 34 31 | 3a 0d 20 20 20 20 20 20 |prite 41|:. |
|00005d80| 69 66 20 62 61 73 69 63 | 4e 61 6d 65 41 6e 69 6d |if basic|NameAnim|
|00005d90| 20 28 6d 65 2c 20 6e 61 | 6d 65 2c 20 73 70 72 2c | (me, na|me, spr,|
|00005da0| 20 36 29 20 74 68 65 6e | 20 70 72 69 6e 74 41 63 | 6) then| printAc|
|00005db0| 74 69 76 69 74 79 53 70 | 61 63 65 20 28 6d 65 29 |tivitySp|ace (me)|
|00005dc0| 0d 20 20 20 20 22 62 61 | 6e 6e 65 72 61 72 74 22 |. "ba|nnerart"|
|00005dd0| 2c 22 74 6f 70 62 61 6e | 6e 65 72 22 2c 22 73 70 |,"topban|ner","sp|
|00005de0| 65 61 6b 65 72 22 3a 20 | 20 2d 2d 34 32 2c 34 33 |eaker": | --42,43|
|00005df0| 2c 34 34 3a 20 0d 20 20 | 20 20 20 20 70 6c 61 79 |,44: . | play|
|00005e00| 42 61 6e 6e 65 72 20 28 | 6d 65 29 20 2d 2d 20 72 |Banner (|me) -- r|
|00005e10| 65 70 6c 61 79 20 74 68 | 65 20 62 61 6e 6e 65 72 |eplay th|e banner|
|00005e20| 0d 20 20 20 20 22 6c 65 | 66 74 22 3a 20 20 2d 2d |. "le|ft": --|
|00005e30| 34 35 3a 0d 20 20 20 20 | 20 20 69 66 20 6e 6f 74 |45:. | if not|
|00005e40| 20 62 61 73 69 63 4e 61 | 6d 65 41 6e 69 6d 20 28 | basicNa|meAnim (|
|00005e50| 6d 65 2c 20 6e 61 6d 65 | 2c 20 73 70 72 2c 20 36 |me, name|, spr, 6|
|00005e60| 29 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 31 0d |) then r|eturn 1.|
|00005e70| 20 20 20 20 20 20 0d 20 | 20 20 20 20 20 69 66 20 | . | if |
|00005e80| 74 68 65 20 66 72 61 6d | 65 20 3c 20 6c 61 62 65 |the fram|e < labe|
|00005e90| 6c 28 22 66 69 6e 69 73 | 68 22 29 20 74 68 65 6e |l("finis|h") then|
|00005ea0| 0d 20 20 20 20 20 20 20 | 20 2d 2d 6f 70 65 6e 20 |. | --open |
|00005eb0| 74 68 65 20 64 69 61 6c | 6f 67 20 77 69 6e 64 6f |the dial|og windo|
|00005ec0| 77 0d 20 20 20 20 20 20 | 20 20 6f 70 65 6e 44 69 |w. | openDi|
|00005ed0| 61 6c 6f 67 57 69 6e 28 | 6d 65 2c 20 22 61 63 74 |alogWin(|me, "act|
|00005ee0| 69 76 69 74 79 50 72 65 | 76 22 29 0d 20 20 20 20 |ivityPre|v"). |
|00005ef0| 20 20 65 6e 64 20 69 66 | 0d 20 20 20 20 22 68 65 | end if|. "he|
|00005f00| 6c 70 22 3a 20 20 2d 2d | 34 36 3a 20 20 0d 20 20 |lp": --|46: . |
|00005f10| 20 20 20 20 69 66 20 6e | 6f 74 20 62 61 73 69 63 | if n|ot basic|
|00005f20| 4e 61 6d 65 41 6e 69 6d | 20 28 6d 65 2c 20 6e 61 |NameAnim| (me, na|
|00005f30| 6d 65 2c 20 73 70 72 2c | 20 36 29 20 74 68 65 6e |me, spr,| 6) then|
|00005f40| 20 72 65 74 75 72 6e 20 | 31 0d 20 20 20 20 20 20 | return |1. |
|00005f50| 0d 20 20 20 20 20 20 2d | 2d 20 20 20 20 20 20 67 |. -|- g|
|00005f60| 6c 6f 62 61 6c 20 67 54 | 79 70 65 0d 20 20 20 20 |lobal gT|ype. |
|00005f70| 20 20 2d 2d 20 20 20 20 | 20 20 0d 20 20 20 20 20 | -- | . |
|00005f80| 20 2d 2d 20 20 20 20 20 | 20 63 61 73 65 20 28 67 | -- | case (g|
|00005f90| 54 79 70 65 29 20 6f 66 | 20 0d 20 20 20 20 20 20 |Type) of| . |
|00005fa0| 2d 2d 20 20 20 20 20 20 | 20 20 23 44 69 72 65 63 |-- | #Direc|
|00005fb0| 74 69 6f 6e 41 72 72 6f | 77 73 3a 20 0d 20 20 20 |tionArro|ws: . |
|00005fc0| 20 20 20 2d 2d 20 20 20 | 20 20 20 20 20 20 20 73 | -- | s|
|00005fd0| 65 74 20 74 68 65 46 69 | 6c 65 20 3d 20 22 48 45 |et theFi|le = "HE|
|00005fe0| 4c 50 44 41 22 0d 20 20 | 20 20 20 20 2d 2d 20 20 |LPDA". | -- |
|00005ff0| 20 20 20 20 20 20 23 43 | 6c 69 63 6b 49 64 65 6e | #C|lickIden|
|00006000| 74 69 66 79 3a 0d 20 20 | 20 20 20 20 2d 2d 20 20 |tify:. | -- |
|00006010| 20 20 20 20 20 20 20 20 | 73 65 74 20 74 68 65 46 | |set theF|
|00006020| 69 6c 65 20 3d 20 22 48 | 45 4c 50 43 49 22 0d 20 |ile = "H|ELPCI". |
|00006030| 20 20 20 20 20 2d 2d 20 | 20 20 20 20 20 20 20 23 | -- | #|
|00006040| 44 72 61 67 44 72 6f 70 | 53 74 69 63 6b 3a 0d 20 |DragDrop|Stick:. |
|00006050| 20 20 20 20 20 2d 2d 20 | 20 20 20 20 20 20 20 20 | -- | |
|00006060| 20 73 65 74 20 74 68 65 | 46 69 6c 65 20 3d 20 22 | set the|File = "|
|00006070| 48 45 4c 50 44 44 22 0d | 20 20 20 20 20 20 2d 2d |HELPDD".| --|
|00006080| 20 20 20 20 20 20 20 20 | 23 44 72 61 67 44 72 6f | |#DragDro|
|00006090| 70 48 69 64 65 3a 0d 20 | 20 20 20 20 20 2d 2d 20 |pHide:. | -- |
|000060a0| 20 20 20 20 20 20 20 20 | 20 73 65 74 20 74 68 65 | | set the|
|000060b0| 46 69 6c 65 20 3d 20 22 | 48 45 4c 50 44 44 22 0d |File = "|HELPDD".|
|000060c0| 20 20 20 20 20 20 2d 2d | 20 20 20 20 20 20 20 20 | --| |
|000060d0| 23 44 72 61 67 44 72 6f | 70 43 6f 6c 6f 72 3a 0d |#DragDro|pColor:.|
|000060e0| 20 20 20 20 20 20 2d 2d | 20 20 20 20 20 20 20 20 | --| |
|000060f0| 20 20 73 65 74 20 74 68 | 65 46 69 6c 65 20 3d 20 | set th|eFile = |
|00006100| 22 48 45 4c 50 44 44 22 | 0d 20 20 20 20 20 20 2d |"HELPDD"|. -|
|00006110| 2d 20 20 20 20 20 20 20 | 20 23 53 69 6e 67 6c 65 |- | #Single|
|00006120| 50 6f 69 6e 74 3a 0d 20 | 20 20 20 20 20 2d 2d 20 |Point:. | -- |
|00006130| 20 20 20 20 20 20 20 20 | 20 73 65 74 20 74 68 65 | | set the|
|00006140| 46 49 6c 65 20 3d 20 22 | 48 45 4c 50 44 44 22 0d |FIle = "|HELPDD".|
|00006150| 20 20 20 20 20 20 2d 2d | 20 20 20 20 20 20 20 20 | --| |
|00006160| 23 53 69 6e 67 6c 65 50 | 6f 69 6e 74 53 74 69 63 |#SingleP|ointStic|
|00006170| 6b 3a 0d 20 20 20 20 20 | 20 2d 2d 20 20 20 20 20 |k:. | -- |
|00006180| 20 20 20 20 20 73 65 74 | 20 74 68 65 46 69 6c 65 | set| theFile|
|00006190| 20 3d 20 22 48 45 4c 50 | 44 44 22 0d 20 20 20 20 | = "HELP|DD". |
|000061a0| 20 20 2d 2d 20 20 20 20 | 20 20 20 20 23 53 69 6e | -- | #Sin|
|000061b0| 67 6c 65 50 6f 69 6e 74 | 53 74 69 63 6b 42 3a 0d |glePoint|StickB:.|
|000061c0| 20 20 20 20 20 20 2d 2d | 20 20 20 20 20 20 20 20 | --| |
|000061d0| 20 20 73 65 74 20 74 68 | 65 46 69 6c 65 20 3d 20 | set th|eFile = |
|000061e0| 22 48 45 4c 50 44 44 22 | 0d 20 20 20 20 20 20 2d |"HELPDD"|. -|
|000061f0| 2d 20 20 20 20 20 20 20 | 20 23 53 69 6e 67 6c 65 |- | #Single|
|00006200| 50 6f 69 6e 74 43 6f 6c | 6f 72 3a 0d 20 20 20 20 |PointCol|or:. |
|00006210| 20 20 2d 2d 20 20 20 20 | 20 20 20 20 20 20 73 65 | -- | se|
|00006220| 74 20 74 68 65 46 69 6c | 65 20 3d 20 22 48 45 4c |t theFil|e = "HEL|
|00006230| 50 44 44 22 0d 20 20 20 | 20 20 20 2d 2d 20 20 20 |PDD". | -- |
|00006240| 20 20 20 20 20 23 4d 61 | 74 63 68 47 61 6d 65 3a | #Ma|tchGame:|
|00006250| 0d 20 20 20 20 20 20 2d | 2d 20 20 20 20 20 20 20 |. -|- |
|00006260| 20 20 20 73 65 74 20 74 | 68 65 46 69 6c 65 20 3d | set t|heFile =|
|00006270| 20 22 48 45 4c 50 4d 47 | 22 0d 20 20 20 20 20 20 | "HELPMG|". |
|00006280| 2d 2d 20 20 20 20 20 20 | 20 20 23 53 74 64 50 61 |-- | #StdPa|
|00006290| 69 6e 74 3a 0d 20 20 20 | 20 20 20 2d 2d 20 20 20 |int:. | -- |
|000062a0| 20 20 20 20 20 20 20 73 | 65 74 20 74 68 65 46 69 | s|et theFi|
|000062b0| 6c 65 20 3d 20 22 48 45 | 4c 50 50 4e 54 22 0d 20 |le = "HE|LPPNT". |
|000062c0| 20 20 20 20 20 2d 2d 20 | 20 20 20 20 20 20 20 6f | -- | o|
|000062d0| 74 68 65 72 77 69 73 65 | 0d 20 20 20 20 20 20 2d |therwise|. -|
|000062e0| 2d 20 20 20 20 20 20 20 | 20 20 20 73 65 74 20 74 |- | set t|
|000062f0| 68 65 46 69 6c 65 20 3d | 20 22 48 45 4c 50 4d 4d |heFile =| "HELPMM|
|00006300| 22 0d 20 20 20 20 20 20 | 2d 2d 20 20 20 20 20 20 |". |-- |
|00006310| 65 6e 64 20 63 61 73 65 | 0d 20 20 20 20 20 20 2d |end case|. -|
|00006320| 2d 20 20 20 20 20 20 0d | 20 20 20 20 20 20 2d 2d |- .| --|
|00006330| 20 20 20 20 20 20 69 6e | 69 74 48 65 6c 70 57 69 | in|itHelpWi|
|00006340| 6e 20 28 6d 65 2c 20 30 | 2c 20 74 68 65 46 69 6c |n (me, 0|, theFil|
|00006350| 65 29 0d 20 20 20 20 22 | 68 6f 6d 65 22 3a 20 20 |e). "|home": |
|00006360| 2d 2d 20 34 37 3a 0d 20 | 20 20 20 20 20 69 66 20 |-- 47:. | if |
|00006370| 6e 6f 74 20 62 61 73 69 | 63 4e 61 6d 65 41 6e 69 |not basi|cNameAni|
|00006380| 6d 20 28 6d 65 2c 20 6e | 61 6d 65 2c 20 73 70 72 |m (me, n|ame, spr|
|00006390| 2c 20 36 29 20 74 68 65 | 6e 20 72 65 74 75 72 6e |, 6) the|n return|
|000063a0| 20 31 0d 20 20 20 20 20 | 20 0d 20 20 20 20 20 20 | 1. | . |
|000063b0| 69 66 20 74 68 65 20 6d | 6f 76 69 65 4e 61 6d 65 |if the m|ovieName|
|000063c0| 20 63 6f 6e 74 61 69 6e | 73 20 22 6d 61 69 6e 22 | contain|s "main"|
|000063d0| 20 74 68 65 6e 0d 20 20 | 20 20 20 20 20 20 6f 70 | then. | op|
|000063e0| 65 6e 44 69 61 6c 6f 67 | 57 69 6e 20 28 6d 65 2c |enDialog|Win (me,|
|000063f0| 20 22 71 75 69 74 22 29 | 0d 20 20 20 20 20 20 65 | "quit")|. e|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.